Skip to content

Commit ab76408

Browse files
committed
Required read-only-root-fs for SL-Micro test build
Changes from the SL-Micro team requires adaptions to the integration test description
1 parent 8d9986e commit ab76408

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

build-tests/x86/tumbleweed/test-image-MicroOS/appliance.kiwi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
<package name="squashfs"/>
127127
<package name="systemd-network"/>
128128
<package name="systemd-resolved"/>
129+
<package name="read-only-root-fs"/>
129130
<package name="NetworkManager"/>
130131
</packages>
131132
<packages type="bootstrap">
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
set -eux
3+
4+
/usr/sbin/setup-fstab-for-overlayfs
5+
# If /var is on a different partition than /...
6+
if [ "$(findmnt -snT / -o SOURCE)" != "$(findmnt -snT /var -o SOURCE)" ]; then
7+
# ... set options for autoexpanding /var
8+
gawk -i inplace '$2 == "/var" { $4 = $4",x-growpart.grow,x-systemd.growfs" } { print $0 }' /etc/fstab
9+
fi

0 commit comments

Comments
 (0)