Zakk
bb763ec8d2
sys-kernel/mkinitcpio: resolve encrypt hook libraries at image build time
...
因为 42-r1 用 gcc-config -L 找 libgcc_s.so.1,只装 sys-libs/libgcc 的 clang 系统上没有这个路径,所以改问 ldconfig -p;legacy.so 改问 openssl version -m 的 MODULESDIR,不再猜 libdir。两处做成 patch 文件,去掉多层引号的 sed。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-12 19:19:28 +10:00
Zakk
989c010ab5
sys-kernel/mkinitcpio: fix busybox init and encrypt hook on Gentoo
...
因为 files/initcpio-install-base 用 add_file 装 init,而 meson 装出来的 /usr/lib/initcpio/init 是 644,所以 image 里的 /init 不可执行,内核退到 busybox 的 init applet,开机停在 can't open /dev/tty;上游 install/base 用 add_initcpio_binary 给 755,直接用上游的。
因为 install/encrypt 硬写 /usr/lib/libgcc_s.so.1 和 /usr/lib/ossl-modules/legacy.so,Gentoo 上分别在 gcc 的 libdir 和 /usr/lib64,所以生成时报 file not found,改成在生成时解析。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-12 18:43:13 +10:00
Zakk
a1a9177f42
sys-kernel/mkinitcpio: add 42, drop 41-r1
...
因为 Arch 不再往 sources.archlinux.org 放 tarball,改从 git tag 构建,所以 SRC_URI 改用 GitHub 的 tag archive。
因为 tag archive 没有 .git,tools/dist.sh 用 git describe 取版本会得到空字符串,所以 src_prepare 把 meson.build 的 version 换成 ${PV}。
因为 optional-hwdb.patch 已进上游 42,所以删除。
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-09-12 18:25:09 +10:00
Zakk
b1ca6a0366
sys-kernel/mkinitcpio: add 41
...
v41 upstream moved to Meson, so the ebuild is rewritten for it. SRC_URI switches
to the sources.archlinux.org release tarball (the tag archive lacks the version
Meson needs), and it backports upstream 2061445e (guard the optional hwdb.bin).
Signed-off-by: Zakk <zakk@gentoozh.org >
2026-07-22 18:21:42 +10:00
microcai
5e7fb38d66
mkinitcpio bump to 38
2024-03-09 09:41:49 +08:00
microcai
a079725f50
mkinitcpio update
2023-02-18 23:30:11 +08:00
microcai
e243e73d64
mkinitcpio: fix systemd hook
2021-12-23 14:01:21 +08:00
microcai
454fc63a93
mkinitcpio update to 31
2021-12-23 11:28:45 +08:00
layman
3ca25ae9a9
fix mkinitcpio
2021-10-12 22:22:03 +08:00
layman
901b025bc4
update mkinitcpio
2021-10-12 16:36:48 +08:00
layman
409184a501
update mkinitcpio
2021-10-12 15:54:48 +08:00
layman
7451cad66d
fix mkinitcpio
2021-10-12 15:54:48 +08:00
layman
6953636c69
initcpio fix old gentoo
2021-09-27 15:15:11 +08:00
layman
fb6e53975e
fix emergency shell
2021-09-26 00:57:22 +08:00
layman
f14ab16737
allow emergency shell
2021-09-26 00:49:44 +08:00
layman
851e0ef61b
add default
2021-09-26 00:24:55 +08:00
layman
02cd17afb3
fix systemd based initramfs generation
2021-09-26 00:22:54 +08:00