boot partition: no reason to limit vfat/ext2, ext3/ext4 could also be used

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 1939707f8a
commit 8c3e2eddfb

@ -22,11 +22,14 @@ conf_bl_listfile="bootloader-ng"
[omap and a mainline u-boot]
#Bootloader Partition:
conf_boot_fstype="fat"
#conf_boot_fstype="ext2"
#conf_boot_fstype="ext3"
#conf_boot_fstype="ext4"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="fatfs_boot"
boot_fstype="fat"
spl_name="MLO"
boot_name="u-boot.img"
@ -55,11 +58,14 @@ uboot_fdt_auto_detection=1
[imx and a mainline u-boot]
#Bootloader Partition:
#conf_boot_fstype="fat"
conf_boot_fstype="ext2"
#conf_boot_fstype="ext3"
#conf_boot_fstype="ext4"
conf_boot_startmb="1"
conf_boot_endmb="96"
bootloader_location="dd_uboot_boot"
boot_fstype="ext2"
dd_uboot_seek="1"
dd_uboot_bs="1024"
unset spl_name

@ -83,10 +83,10 @@ else
echo "WARN: [serial_tty] was undefined..." >> /var/log/netinstall.log
fi
if [ "x${boot_fstype}" = "xext2" ] ; then
echo "${bootdrive}p1 /boot/uboot ext2 defaults 0 2" >> /etc/fstab
else
if [ "x${boot_fstype}" = "xfat" ] ; then
echo "${bootdrive}p1 /boot/uboot auto defaults 0 0" >> /etc/fstab
else
echo "${bootdrive}p1 /boot/uboot ${boot_fstype} defaults 0 2" >> /etc/fstab
fi
if [ "x${usbnet_mem}" != "x" ] ; then

@ -142,10 +142,10 @@ else
echo "WARN: [serial_tty] was undefined..." >> /var/log/netinstall.log
fi
if [ "x${boot_fstype}" = "xext2" ] ; then
echo "${bootdrive}p1 /boot/uboot ext2 defaults 0 2" >> /etc/fstab
else
if [ "x${boot_fstype}" = "xfat" ] ; then
echo "${bootdrive}p1 /boot/uboot auto defaults 0 0" >> /etc/fstab
else
echo "${bootdrive}p1 /boot/uboot ${boot_fstype} defaults 0 2" >> /etc/fstab
fi
if [ "x${usbnet_mem}" != "x" ] ; then

@ -1167,8 +1167,8 @@ create_partitions () {
mkfs="mkfs.vfat -F 16"
mkfs_label="-n ${BOOT_LABEL}"
else
mount_partition_format="ext2"
mkfs="mkfs.ext2"
mount_partition_format="${conf_boot_fstype}"
mkfs="mkfs.${conf_boot_fstype}"
mkfs_label="-L ${BOOT_LABEL}"
fi

Loading…
Cancel
Save