summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authorjandob2015-11-06 17:13:19 +0100
committerjandob2015-11-06 17:13:19 +0100
commitd158a98d1b5257ce01fbc5f20ea76dd1d4bf44e7 (patch)
treeec3bc622f7f9e185a4725bfa0155f175cf098f65 /builder
parentAdd process marker. (diff)
downloadsystemd-init-d158a98d1b5257ce01fbc5f20ea76dd1d4bf44e7.tar.gz
systemd-init-d158a98d1b5257ce01fbc5f20ea76dd1d4bf44e7.tar.xz
systemd-init-d158a98d1b5257ce01fbc5f20ea76dd1d4bf44e7.zip
increase ramdisk size to 512MB
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh
index c257607d..41e2d387 100755
--- a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh
+++ b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh
@@ -24,7 +24,7 @@ local read_only_partition="$(utils_create_partition_via_offset "$nbd_device" \
# TODO implement persistent available indicator.
local persistent="N" # 'P' for persistent storage, 'N' for not persistent
if true; then
- modprobe brd
+ modprobe brd max_part=1 rd_size=524288
local writable_device="/dev/ram0" && \
#mknod --mode 660 "$writable_device" b 1 1 && \
#chown root:disk "$writable_device"