Resolve failure in name resolution for Ubuntu images.
Create a symbolic link of /etc/resolv.conf that points to:
/run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Signed-off-by: Leon Anavi <leon@anavi.org>
Extend the list of ignored artifacts by adding files generated
as part of the process for building u-boot and busybox.
Signed-off-by: Leon Anavi <leon@anavi.org>
Ensure that all paths exists before executing cat. Otherwise
the rootfs was not properly generated and the image was not
booting.
Suggested-by: Lazar Hristov <lhristov@gmail.com>
Signed-off-by: Leon Anavi <leon@anavi.org>
Avoid warnings like the examples below when showing git status:
warning: could not open directory 'SOFTWARE/A64-TERES/scripts/teres-build-mqHlyiY5yF/': Permission denied
warning: could not open directory 'SOFTWARE/A64-TERES/scripts/teres-build-7DBpdkWsab/': Permission denied
warning: could not open directory 'SOFTWARE/A64-TERES/scripts/teres-build-hxppVthocN/': Permission denied
warning: could not open directory 'SOFTWARE/A64-TERES/scripts/teres-build-Ii73ok6WQw/': Permission denied
warning: could not open directory 'SOFTWARE/A64-TERES/scripts/teres-build-59exex9IfW/': Permission denied
warning: could not open directory 'SOFTWARE/A64-TERES/scripts/teres-build-i2QaVQHdXx/': Permission denied
Signed-off-by: Lazar Hristov <lhristov@gmail.com>
Disable options metadata_csum & 64bit after mkfs.ext4
using tune2fs. Fixes the following error on boot:
[ 37.259701] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 37.269247] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 37.288201] JBD2: Unrecognised features on journal
[ 37.293429] EXT4-fs (mmcblk0p2): error loading journal
[ 37.349186] UDF-fs: warning (device mmcblk0p2): udf_fill_super: No partition found (2)
Signed-off-by: Lazar Hristov <lhristov@gmail.com>
Add an option to generate bionic image for A64-TERES. Fix
execution locale-gen.
Suggested-by: Lazar Hristov <lhristov@gmail.com>
Signed-off-by: Leon Anavi <leon@anavi.org>