File tree Expand file tree Collapse file tree 7 files changed +33
-4
lines changed
Expand file tree Collapse file tree 7 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ jobs:
148148 " partition" ,
149149 " partition+usr" ,
150150 " pipeline" ,
151+ " squashed-initramfs" ,
151152 " raid1" ,
152153 " raid1+raid5" ,
153154 " raid1-degraded" ,
Original file line number Diff line number Diff line change 11#! /bin/bash
22# SPDX-License-Identifier: GPL-3.0-or-later
33
4- MAKE_INITRD_PACKAGES=" make udev libelf libkmod zlib bzlib libzstd liblzma libbpf libjson-c5"
4+ MAKE_INITRD_PACKAGES=" make udev libelf libkmod zlib bzlib libzstd liblzma"
5+ MAKE_INITRD_PACKAGES+=" libbpf libjson-c5 squashfs-tools"
56
67MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES "
78MAKE_INITRD_PACKAGES_DEVEL+=" gcc make automake autoconf bison flex"
Original file line number Diff line number Diff line change 11#! /bin/bash
22# SPDX-License-Identifier: GPL-3.0-or-later
33
4- MAKE_INITRD_PACKAGES=" make findutils udev elfutils-libelf kmod-libs zlib-ng bzip2-libs libzstd xz-libs libxcrypt-compat json-c"
4+ MAKE_INITRD_PACKAGES=" make findutils udev elfutils-libelf kmod-libs zlib-ng"
5+ MAKE_INITRD_PACKAGES+=" bzip2-libs libzstd xz-libs libxcrypt-compat json-c"
6+ MAKE_INITRD_PACKAGES+=" squashfs-tools"
57
68MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES "
79MAKE_INITRD_PACKAGES_DEVEL+=" gcc make automake autoconf bison flex gawk"
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ MAKE_INITRD_PACKAGES+=" dev-libs/elfutils net-libs/libtirpc sys-apps/coreutils"
66MAKE_INITRD_PACKAGES+=" sys-apps/findutils sys-apps/grep sys-apps/kmod sys-apps/util-linux"
77MAKE_INITRD_PACKAGES+=" virtual/libcrypt:= virtual/udev app-arch/bzip2 app-arch/xz-utils"
88MAKE_INITRD_PACKAGES+=" app-text/scdoc sys-libs/zlib app-arch/zstd dev-libs/json-c"
9+ MAKE_INITRD_PACKAGES+=" sys-fs/squashfs-tools"
910
1011MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES dev-build/autoconf dev-build/automake"
1112MAKE_INITRD_PACKAGES_DEVEL+=" dev-util/intltool sys-devel/bison sys-devel/flex"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ MAKE_INITRD_PACKAGES+=" dev-libs/elfutils net-libs/libtirpc sys-apps/coreutils"
66MAKE_INITRD_PACKAGES+=" sys-apps/findutils sys-apps/grep sys-apps/kmod sys-apps/util-linux"
77MAKE_INITRD_PACKAGES+=" virtual/libcrypt:= virtual/udev app-arch/bzip2 app-arch/xz-utils"
88MAKE_INITRD_PACKAGES+=" app-text/scdoc sys-libs/zlib app-arch/zstd dev-libs/json-c"
9- MAKE_INITRD_PACKAGES+=" app-arch/lz4"
9+ MAKE_INITRD_PACKAGES+=" app-arch/lz4 sys-fs/squashfs-tools "
1010
1111MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES dev-build/autoconf dev-build/automake"
1212MAKE_INITRD_PACKAGES_DEVEL+=" dev-util/intltool sys-devel/bison sys-devel/flex"
Original file line number Diff line number Diff line change 11#! /bin/bash
22# SPDX-License-Identifier: GPL-3.0-or-later
33
4- MAKE_INITRD_PACKAGES=" make udev libelf1 libkmod2 zlib1g libbz2-1.0 libzstd1 liblzma5 libjson-c5"
4+ MAKE_INITRD_PACKAGES=" make udev libelf1 libkmod2 zlib1g libbz2-1.0 libzstd1"
5+ MAKE_INITRD_PACKAGES+=" liblzma5 libjson-c5 squashfs-tools"
56
67MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES bison flex bzip2"
78MAKE_INITRD_PACKAGES_DEVEL+=" gcc make automake autoconf pkg-config udev scdoc"
Original file line number Diff line number Diff line change 1+ # param KICKSTART_DISKS=2
2+ # param BOOT_DISKS=2
3+ # param BOOT_CMDLINE="$BOOT_CMDLINE rdacct=1 rdlog=console rd-debug-udev=1 quiet panic=0 root=LABEL=ROOT"
4+
5+ ignoredisk --drives =LABEL =SYSIMAGE
6+ clearpart --all --initlabel --disklabel =mbr
7+
8+ part /boot --size =100% --fstype =ext4 --label =BOOT
9+ part / --size =100% --fstype =ext4 --label =ROOT
10+
11+ liveimg --url =dir:///sysimage/
12+
13+ shutdown
14+
15+ %post --erroronfail --nochroot
16+ set -x
17+
18+ tee /mnt/sysimage/etc/initrd.mk.addon <<-EOF
19+ FEATURES += runtime-squashfs
20+ RUNTIME_SQUASHFS_ARGS =
21+ RUNTIME_SQUASHFS_COMPRESS = gzip
22+ EOF
23+ %end
You can’t perform that action at this time.
0 commit comments