Skip to content

Commit c7eccfc

Browse files
committed
powershell: remove ramfs mounts for /tmp and /root
cpiovfs write fix (ephemeral nodes) handles writes natively now, so the separate ramfs workaround mounts are no longer needed. Signed-off-by: danbugs <danilochiarlone@gmail.com>
1 parent 23f632b commit c7eccfc

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

examples/powershell/kraft.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,15 @@ unikraft:
2222
CONFIG_OPTIMIZE_SIZE: 'y'
2323
CONFIG_OPTIMIZE_PIE: 'y'
2424

25-
# VFS and initrd support - cpiovfs for zero-copy mount, ramfs for /tmp
25+
# VFS and initrd support - cpiovfs for zero-copy mount
2626
CONFIG_LIBVFSCORE: 'y'
2727
CONFIG_LIBVFSCORE_AUTOMOUNT_CI: 'y'
2828
CONFIG_LIBVFSCORE_AUTOMOUNT_CI_CUSTOM: 'y'
29-
CONFIG_LIBCPIOVFS: 'y'
30-
CONFIG_LIBRAMFS: 'y'
3129
CONFIG_LIBVFSCORE_AUTOMOUNT_CI0_MP: '/'
3230
CONFIG_LIBVFSCORE_AUTOMOUNT_CI0_DRIVER: 'cpiovfs'
33-
CONFIG_LIBVFSCORE_AUTOMOUNT_CI1_MP: '/tmp'
34-
CONFIG_LIBVFSCORE_AUTOMOUNT_CI1_DRIVER: 'ramfs'
35-
CONFIG_LIBVFSCORE_AUTOMOUNT_CI2_MP: '/root'
36-
CONFIG_LIBVFSCORE_AUTOMOUNT_CI2_DRIVER: 'ramfs'
31+
CONFIG_LIBVFSCORE_AUTOMOUNT_CI0_UKOPTS_IFINITRD0: 'y'
32+
CONFIG_LIBCPIOVFS: 'y'
33+
CONFIG_LIBUKCPIO: 'y'
3734

3835
# ELF loader - execute PowerShell binary
3936
CONFIG_APPELFLOADER: 'y'

0 commit comments

Comments
 (0)