rootfsinstall: fixes for baytrail target

This commit is contained in:
Silvan Calarco 2017-09-07 10:15:22 +02:00
parent de63ffac36
commit 8a0563b019

View File

@ -163,7 +163,7 @@ case $TARGETDEVICE in
BOOTFSTYPE=fat16
BOOTFSSIZE=22M
BOOTFSSTART=1049k
KERNELVER="baytrail"
KERNELVER="4.9.17-baytrail"
KERNELDEST="@BOOT@/vmlinuz-$KERNELVER"
INSTALLPACKAGES="kernel-baytrail kernel-baytrail-headers \
chipone_ts grub-efi rtl8723bs_bt rtl8723bs axpd acpi_tables_patch $INSTALLPACKAGES"
@ -560,8 +560,8 @@ fi
#
for c in `seq 1 ${#PRECHROOTCOMMANDS[*]}`; do
PRECHROOTCOMMAND=`echo ${PRECHROOTCOMMANDS[c-1]} | sed "s|@ROOT@|$ROOTMP|g;s|@BOOT@|$BOOTMP|g"`
$PRECHROOTCOMMAND || {
echo "ERROR: error running pre-chroot command '${PRECHROOTCOMMANDS[c-1]}'; aborting."
eval $PRECHROOTCOMMAND || {
echo "ERROR: error running pre-chroot command '${PRECHROOTCOMMAND}'; aborting."
exit 1
}
done