Skip to content

Commit cff9d20

Browse files
committed
WIP
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
1 parent 637d064 commit cff9d20

3 files changed

Lines changed: 5 additions & 34 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,47 +13,16 @@ on:
1313
jobs:
1414
verify:
1515
uses: ./.github/workflows/verify.yml
16-
altlinux:
17-
needs:
18-
- verify
19-
uses: ./.github/workflows/testcases.yml
20-
with:
21-
vendor: altlinux
22-
exclude: '[{"testcase": "zfs-partition"}, {"testcase": "initramfs-on-erofs"}]'
23-
fedora:
24-
needs:
25-
- verify
26-
uses: ./.github/workflows/testcases.yml
27-
with:
28-
vendor: fedora
29-
exclude: '[{"testcase": "zfs-partition"},{"testcase": "lvm+luks"}]'
30-
ubuntu:
31-
needs:
32-
- verify
33-
uses: ./.github/workflows/testcases.yml
34-
with:
35-
vendor: ubuntu
3616
gentoo:
3717
needs:
3818
- verify
3919
uses: ./.github/workflows/testcases.yml
4020
with:
4121
vendor: gentoo
4222
exclude: '[{"testcase": "zfs-partition"}]'
43-
gentoo_musl:
44-
needs:
45-
- verify
46-
uses: ./.github/workflows/testcases.yml
47-
with:
48-
vendor: gentoo_musl
49-
exclude: '[{"testcase": "zfs-partition"}, {"testcase": "initramfs-on-erofs"}, {"testcase": "initramfs-on-squashfs"}]'
5023
metrics:
5124
needs:
52-
- altlinux
53-
- fedora
54-
- ubuntu
5525
- gentoo
56-
- gentoo_musl
5726
runs-on: ubuntu-latest
5827
if: success() || failure()
5928
steps:

testing/packages-gentoo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: GPL-3.0-or-later
33

44
MAKE_INITRD_PACKAGES="app-alternatives/cpio app-arch/tar dev-build/make"
5-
MAKE_INITRD_PACKAGES+=" dev-libs/elfutils net-libs/libtirpc" # sys-apps/coreutils
5+
MAKE_INITRD_PACKAGES+=" dev-libs/elfutils net-libs/libtirpc sys-apps/coreutils"
66
MAKE_INITRD_PACKAGES+=" sys-apps/findutils sys-apps/grep sys-apps/kmod sys-apps/util-linux"
77
MAKE_INITRD_PACKAGES+=" virtual/libcrypt:= virtual/udev app-arch/bzip2 app-arch/xz-utils"
88
MAKE_INITRD_PACKAGES+=" app-text/scdoc sys-libs/zlib app-arch/zstd dev-libs/json-c"

testing/testing-gentoo

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ for step in "$@"; do
6565
RUN getuto >/dev/null
6666
RUN emerge-webrsync --quiet
6767
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
6970
RUN emerge --depclean --with-bdeps=n --ask=n
7071
RUN $(image_depmod)
7172
RUN \
@@ -96,7 +97,8 @@ for step in "$@"; do
9697
ENV USE="boot lvm -initramfs"
9798
RUN emerge-webrsync --quiet
9899
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; \
101+
[ -z "\${pkgs-}" ] || emerge $emerge_args \$pkgs
100102
RUN emerge --depclean --with-bdeps=n --ask=n
101103
RUN $(image_depmod)
102104
RUN $(image_cleanup)

0 commit comments

Comments
 (0)