Improve initramfs generation

This commit is contained in:
zador-blood-stained 2016-09-07 22:05:53 +03:00
parent d3dad722b6
commit e8b9254260

View file

@ -16,6 +16,9 @@ install_common()
{
display_alert "Applying common tweaks" "" "info"
# add dummy fstab entry to make mkinitramfs happy
echo "/dev/mmcblk0p1 / $ROOTFS_TYPE defaults 0 1" >> $CACHEDIR/sdcard/etc/fstab
# create modules file
if [[ $BRANCH == next || $BRANCH == dev ]]; then
tr ' ' '\n' <<< "$MODULES_NEXT" > $CACHEDIR/sdcard/etc/modules