Define ARCH within global environment variables

This commit is contained in:
Igor Pecovnik 2018-01-26 10:54:55 +01:00
parent 444e3e34d6
commit 3ff36b0649

View File

@ -16,6 +16,9 @@ install_common()
{
display_alert "Applying common tweaks" "" "info"
# define ARCH within global environment variables
[[ -f $SDCARD/etc/environment ]] && echo "ARCH=${ARCH//hf}" >> $SDCARD/etc/environment
# add dummy fstab entry to make mkinitramfs happy
echo "/dev/mmcblk0p1 / $ROOTFS_TYPE defaults 0 1" >> $SDCARD/etc/fstab
# required for initramfs-tools-core on Stretch since it ignores the / fstab entry