mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
Better default modues handling
This commit is contained in:
@@ -20,7 +20,9 @@ install_common()
|
||||
echo "/dev/mmcblk0p1 / $ROOTFS_TYPE defaults 0 1" >> $CACHEDIR/sdcard/etc/fstab
|
||||
|
||||
# create modules file
|
||||
if [[ $BRANCH == next || $BRANCH == dev ]]; then
|
||||
if [[ $BRANCH == dev && -n $MODULES_DEV ]]; then
|
||||
tr ' ' '\n' <<< "$MODULES_DEV" > $CACHEDIR/sdcard/etc/modules
|
||||
elif [[ $BRANCH == next || $BRANCH == dev ]]; then
|
||||
tr ' ' '\n' <<< "$MODULES_NEXT" > $CACHEDIR/sdcard/etc/modules
|
||||
else
|
||||
tr ' ' '\n' <<< "$MODULES" > $CACHEDIR/sdcard/etc/modules
|
||||
|
||||
Reference in New Issue
Block a user