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