@@ -125,7 +125,6 @@ packages:
125125 - hwclock
126126 - iptables
127127 - libffi8
128- - nftables
129128 - numactl
130129 - openssl
131130 - passt
@@ -242,6 +241,11 @@ import:
242241 to : /
243242 before : install
244243
244+ - image : packages/binaries/nftables
245+ add : /nftables
246+ to : /nftables
247+ before : install
248+
245249- image : tools/coreutils
246250 add : /
247251 to : /relocate
@@ -263,7 +267,7 @@ shell:
263267 apt-get update && apt-get install -y {{ $virtLauncherDependencies.libs | join " " }} {{ $virtLauncherDependencies.packages | join " " }}
264268
265269 # libtpms libtpms-devel require version 0.10 that in sisyphus repo
266- cat >/etc/apt/sources.list.d/alt-sisyphus.list<<EOF
270+ cat >/etc/apt/sources.list.d/alt-sisyphus.list<<EOF
267271 rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus x86_64 classic
268272 rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus noarch classic
269273 EOF
@@ -289,20 +293,22 @@ shell:
289293 echo "find and copy additional libs"
290294 FILES=$(find /VBINS/usr/bin/ -type f)
291295 FILES+=" $(find /VBINS/usr/sbin/ -type f)"
292-
296+
293297 LIBS="/usr/lib64/libbsd.so* /usr/lib64/libnbd.so* /usr/lib64/libfuse3.so*"
294298 LIBS+=" /usr/lib64/libjson-c.so* /usr/lib64/libssh.so* /usr/lib64/libssh2.so*"
295299 LIBS+=" /usr/lib64/libtpms* /usr/lib64/libjson* /usr/lib64/libfuse*"
296300 LIBS+=" /usr/lib64/libxml2.so* /usr/lib64/libgcc_s*"
297301
298302 echo "Relocate additional libs for files in /VBINS"
299303 ./relocate_binaries.sh -i "$FILES" -o /VBINS
300-
304+
301305 echo "Relocate additional libs to /VBINS"
302306 ./relocate_binaries.sh -i "$LIBS" -o /VBINS
303307
304308 cp -a /VBINS/. /relocate
305309
310+ cp -a /nftables/. /
311+
306312 echo "Show libs after relocation in /relocate/usr/lib64"
307313 ls -la /relocate/usr/lib64
308314 # Cleanup
@@ -382,7 +388,7 @@ shell:
382388
383389 echo "List files in /relocate/usr/local/lib64"
384390 ls -la usr/local/lib64
385-
391+
386392 - |
387393 cd /relocate
388394
@@ -455,7 +461,7 @@ shell:
455461 apt-get update && apt-get install --yes gcc musl-dev musl-tools
456462 apt-get clean
457463 install :
458- - |
464+ - |
459465 echo "Building simple app that prints I'am temp pod"
460466 mkdir -p /bins
461467 musl-gcc -static -Os -o /bins/temp_pod temp_pod.c
0 commit comments