File tree Expand file tree Collapse file tree 4 files changed +34
-2
lines changed
Expand file tree Collapse file tree 4 files changed +34
-2
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+ " initramfs-on-erofs" ,
151152 " initramfs-on-squashfs" ,
152153 " raid1" ,
153154 " raid1+raid5" ,
@@ -164,9 +165,18 @@ jobs:
164165 - vendor : altlinux
165166 testcase : zfs-partition
166167
168+ - vendor : altlinux
169+ testcase : initramfs-on-erofs
170+
171+ - vendor : gentoo
172+ testcase : initramfs-on-erofs
173+
167174 - vendor : gentoo
168175 testcase : zfs-partition
169176
177+ - vendor : gentoo_musl
178+ testcase : initramfs-on-erofs
179+
170180 - vendor : gentoo_musl
171181 testcase : zfs-partition
172182
Original file line number Diff line number Diff line change 33
44MAKE_INITRD_PACKAGES=" make findutils udev elfutils-libelf kmod-libs zlib-ng"
55MAKE_INITRD_PACKAGES+=" bzip2-libs libzstd xz-libs libxcrypt-compat json-c"
6- MAKE_INITRD_PACKAGES+=" squashfs-tools"
6+ MAKE_INITRD_PACKAGES+=" squashfs-tools erofs-utils "
77
88MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES "
99MAKE_INITRD_PACKAGES_DEVEL+=" gcc make automake autoconf bison flex gawk"
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: GPL-3.0-or-later
33
44MAKE_INITRD_PACKAGES=" make udev libelf1 libkmod2 zlib1g libbz2-1.0 libzstd1"
5- MAKE_INITRD_PACKAGES+=" liblzma5 libjson-c5 squashfs-tools"
5+ MAKE_INITRD_PACKAGES+=" liblzma5 libjson-c5 squashfs-tools erofs-utils "
66
77MAKE_INITRD_PACKAGES_DEVEL=" $MAKE_INITRD_PACKAGES bison flex bzip2"
88MAKE_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-compressed-fs
20+ RUNTIME_BASE_LAYER = erofs
21+ EOF
22+ %end
You can’t perform that action at this time.
0 commit comments