Skip to content

Commit bb071e2

Browse files
committed
increase chroot tmpfs size
cp: error copying '/var/tmp/dracut.dgkRVtH/initramfs.img' to '/tmp/kernel-install.staging.pz8r83/initrd': No space left on device
1 parent 4116ab7 commit bb071e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/_pxe/image.pxe.tar.gz

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pushd "$dir" > /dev/null
1111
export PATH="/builder/image.d:$PATH"
1212

1313
chroot_dir="$(mktemp -d)"
14-
mount -t tmpfs tmpfs "$chroot_dir"
14+
mount -t tmpfs -o size=4G tmpfs "$chroot_dir"
1515
tar --extract --xattrs --xattrs-include '*' --directory "$chroot_dir" < "$input"
1616

1717
cp "$chroot_dir/boot/"vmlinuz* vmlinuz

0 commit comments

Comments
 (0)