[sys-kernel/dracut] sync with tree
This commit is contained in:
parent
7fef909268
commit
b7013c20fd
@ -1 +1 @@
|
|||||||
DIST dracut-059_p20231027.tar.gz 491099 BLAKE2B 02c5de4577bc5fc87fd11b7b9760b0f1a4a83ed7ef1fc2de22ea3f9588e9b03b347c1be4f26965d26ab8b88736b0da70e01ecb4a50c2951d1ec4009222aaa97a SHA512 da26c798f8c3856f7b9488278f26f1f392e6f6e1863bd6bb590f940854cde6633a45cf60acf52a2a184a1a47250a23e6ee53cb3f5fa759eb0146a4c0d172c07e
|
DIST dracut-060_pre20231030.tar.gz 498954 BLAKE2B ce47f06e1304f732cbad66046c70cbcb03d33d69b9c3e87a4e2e2d30fa837b3b36949462cec9b06125e824ad82db45bd7516c22a1c84ec6884790b37e9c65ab1 SHA512 0cd2fefcd624758063c77836989260a3d5b0d533004c2395124c8200c31602f5d7d0b8c9491de37ce4afb2c5009b2cf944ddd3bb9e0e11120d84176cb1e7423c
|
||||||
|
@ -5,13 +5,13 @@ EAPI=7
|
|||||||
|
|
||||||
CARGO_OPTIONAL=1
|
CARGO_OPTIONAL=1
|
||||||
|
|
||||||
inherit bash-completion-r1 cargo edo linux-info optfeature systemd toolchain-funcs
|
inherit bash-completion-r1 cargo edo optfeature systemd toolchain-funcs
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/dracutdevs/dracut"
|
EGIT_REPO_URI="https://github.com/dracutdevs/dracut"
|
||||||
else
|
else
|
||||||
if [[ ${PV} == *_p* ]] ; then
|
if [[ ${PV} == *_p* ]] ; then
|
||||||
EGIT_COMMIT="b2af8c8bcfc72802e02e2c0adc2eed9279101624"
|
EGIT_COMMIT="856e7acdb1462803c2517c8d64afb2e34c73c735"
|
||||||
SRC_URI="https://github.com/dracutdevs/dracut/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/dracutdevs/dracut/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
|
S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
|
||||||
else
|
else
|
||||||
@ -120,33 +120,6 @@ src_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
if linux-info_get_any_version && linux_config_exists; then
|
|
||||||
ewarn ""
|
|
||||||
ewarn "If the following test report contains a missing kernel"
|
|
||||||
ewarn "configuration option, you should reconfigure and rebuild your"
|
|
||||||
ewarn "kernel before booting image generated with this Dracut version."
|
|
||||||
ewarn ""
|
|
||||||
|
|
||||||
local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS"
|
|
||||||
|
|
||||||
# Kernel configuration options descriptions:
|
|
||||||
local ERROR_DEVTMPFS='CONFIG_DEVTMPFS: "Maintain a devtmpfs filesystem to mount at /dev" '
|
|
||||||
ERROR_DEVTMPFS+='is missing and REQUIRED'
|
|
||||||
local ERROR_BLK_DEV_INITRD='CONFIG_BLK_DEV_INITRD: "Initial RAM filesystem and RAM disk '
|
|
||||||
ERROR_BLK_DEV_INITRD+='(initramfs/initrd) support" is missing and REQUIRED'
|
|
||||||
|
|
||||||
check_extra_config
|
|
||||||
echo
|
|
||||||
else
|
|
||||||
ewarn ""
|
|
||||||
ewarn "Your kernel configuration couldn't be checked."
|
|
||||||
ewarn "Please check manually if following options are enabled:"
|
|
||||||
ewarn ""
|
|
||||||
ewarn " CONFIG_BLK_DEV_INITRD"
|
|
||||||
ewarn " CONFIG_DEVTMPFS"
|
|
||||||
ewarn ""
|
|
||||||
fi
|
|
||||||
|
|
||||||
optfeature "Networking support" net-misc/networkmanager
|
optfeature "Networking support" net-misc/networkmanager
|
||||||
optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
|
optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
|
||||||
sys-apps/iproute2 "net-misc/iputils[arping]"
|
sys-apps/iproute2 "net-misc/iputils[arping]"
|
@ -5,13 +5,13 @@ EAPI=7
|
|||||||
|
|
||||||
CARGO_OPTIONAL=1
|
CARGO_OPTIONAL=1
|
||||||
|
|
||||||
inherit bash-completion-r1 cargo edo linux-info optfeature systemd toolchain-funcs
|
inherit bash-completion-r1 cargo edo optfeature systemd toolchain-funcs
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/dracutdevs/dracut"
|
EGIT_REPO_URI="https://github.com/dracutdevs/dracut"
|
||||||
else
|
else
|
||||||
if [[ ${PV} == *_p* ]] ; then
|
if [[ ${PV} == *_p* ]] ; then
|
||||||
EGIT_COMMIT="b2af8c8bcfc72802e02e2c0adc2eed9279101624"
|
EGIT_COMMIT="856e7acdb1462803c2517c8d64afb2e34c73c735"
|
||||||
SRC_URI="https://github.com/dracutdevs/dracut/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/dracutdevs/dracut/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
|
S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
|
||||||
else
|
else
|
||||||
@ -120,33 +120,6 @@ src_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
if linux-info_get_any_version && linux_config_exists; then
|
|
||||||
ewarn ""
|
|
||||||
ewarn "If the following test report contains a missing kernel"
|
|
||||||
ewarn "configuration option, you should reconfigure and rebuild your"
|
|
||||||
ewarn "kernel before booting image generated with this Dracut version."
|
|
||||||
ewarn ""
|
|
||||||
|
|
||||||
local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS"
|
|
||||||
|
|
||||||
# Kernel configuration options descriptions:
|
|
||||||
local ERROR_DEVTMPFS='CONFIG_DEVTMPFS: "Maintain a devtmpfs filesystem to mount at /dev" '
|
|
||||||
ERROR_DEVTMPFS+='is missing and REQUIRED'
|
|
||||||
local ERROR_BLK_DEV_INITRD='CONFIG_BLK_DEV_INITRD: "Initial RAM filesystem and RAM disk '
|
|
||||||
ERROR_BLK_DEV_INITRD+='(initramfs/initrd) support" is missing and REQUIRED'
|
|
||||||
|
|
||||||
check_extra_config
|
|
||||||
echo
|
|
||||||
else
|
|
||||||
ewarn ""
|
|
||||||
ewarn "Your kernel configuration couldn't be checked."
|
|
||||||
ewarn "Please check manually if following options are enabled:"
|
|
||||||
ewarn ""
|
|
||||||
ewarn " CONFIG_BLK_DEV_INITRD"
|
|
||||||
ewarn " CONFIG_DEVTMPFS"
|
|
||||||
ewarn ""
|
|
||||||
fi
|
|
||||||
|
|
||||||
optfeature "Networking support" net-misc/networkmanager
|
optfeature "Networking support" net-misc/networkmanager
|
||||||
optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
|
optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
|
||||||
sys-apps/iproute2 "net-misc/iputils[arping]"
|
sys-apps/iproute2 "net-misc/iputils[arping]"
|
||||||
|
Loading…
Reference in New Issue
Block a user