summaryrefslogtreecommitdiff
path: root/1_makerootfs.sh
diff options
context:
space:
mode:
Diffstat (limited to '1_makerootfs.sh')
-rwxr-xr-x1_makerootfs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/1_makerootfs.sh b/1_makerootfs.sh
index bd32573..02f5e0a 100755
--- a/1_makerootfs.sh
+++ b/1_makerootfs.sh
@@ -124,6 +124,9 @@ if [ "$FLASHYBRID" = "yes" ]; then
preserveandaddlines "$targettemp/etc/flashybrid/ramtmp" orig 1 $flashybrid_ramtmp
preserveandaddlines "$targettemp/etc/flashybrid/ramstore" orig 1 $flashybrid_ramstore
preserveandaddlines "$targettemp/etc/flashybrid/diskstore" orig 1 $flashybrid_diskstore
+ # Disable /dev
+ # FIXME: Add and honour flag about using udev or not
+ preserveandhashdisablelines "$targettemp/etc/flashybrid/ramstore" orig 1 "/dev"
# Move off flashybrid directories (but leave empty dir behind)
mkdir -p "$targetoffline" "$targettemp/ram" "$targettemp/disk"
preserveandaddlines "$targettemp/etc/fstab" orig 2 "$diskdev_target\t/disk\t$diskfs\tdefaults,noauto,nolock\t0\t0"