Skip to content

Commit f85aa2f

Browse files
committed
fix(ci rootfs): make dpkg directory so APT works
Otherwise `apt install` fails in the guest. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent d379eeb commit f85aa2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/rebuild.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ for d in $dirs; do tar c "/$d" | tar x -C $rootfs; done
6969
7070
# Make mountpoints
7171
mkdir -pv $rootfs/{dev,proc,sys,run,tmp,var/lib/systemd}
72+
# So apt works
73+
mkdir -pv $rootfs/var/lib/dpkg/
7274
EOF
7375

7476
# TBD what abt /etc/hosts?

0 commit comments

Comments
 (0)