mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-29 02:01:21 +00:00
Improve initramfs generation
This commit is contained in:
parent
d3dad722b6
commit
e8b9254260
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ install_common()
|
||||||
{
|
{
|
||||||
display_alert "Applying common tweaks" "" "info"
|
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
|
# create modules file
|
||||||
if [[ $BRANCH == next || $BRANCH == dev ]]; then
|
if [[ $BRANCH == next || $BRANCH == dev ]]; then
|
||||||
tr ' ' '\n' <<< "$MODULES_NEXT" > $CACHEDIR/sdcard/etc/modules
|
tr ' ' '\n' <<< "$MODULES_NEXT" > $CACHEDIR/sdcard/etc/modules
|
||||||
|
|
Loading…
Add table
Reference in a new issue