You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: testing/testing-gentoo
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,8 @@ for step in "$@"; do
65
65
RUN getuto >/dev/null
66
66
RUN emerge-webrsync --quiet
67
67
RUN emerge $emerge_args$KERNEL_PACKAGES
68
-
RUN emerge $emerge_args$SYSIMAGE_PACKAGES
68
+
RUN for i in $SYSIMAGE_PACKAGES; do [ -n "\$(find /var/db/pkg -mindepth 2 -maxdepth 2 -ipath "*/\${i%%:*}-*" -print -quit)" ] || pkgs="\${pkgs-} \$i"; done; \
69
+
[ -z "\${pkgs-}" ] || emerge $emerge_args\$pkgs
69
70
RUN emerge --depclean --with-bdeps=n --ask=n
70
71
RUN $(image_depmod)
71
72
RUN \
@@ -96,7 +97,8 @@ for step in "$@"; do
96
97
ENV USE="boot lvm -initramfs"
97
98
RUN emerge-webrsync --quiet
98
99
RUN emerge $emerge_args$KERNEL_PACKAGES
99
-
RUN emerge $emerge_args$KICKSTART_PACKAGES
100
+
RUN for i in $KICKSTART_PACKAGES; do [ -n "\$(find /var/db/pkg -mindepth 2 -maxdepth 2 -ipath "*/\${i%%:*}-*" -print -quit)" ] || pkgs="\${pkgs-} \$i"; done; \
0 commit comments