58 |
SRC_URI=( |
SRC_URI=( |
59 |
http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${SRCFILE} |
http://www.kernel.org/pub/linux/utils/boot/${PNAME}/${SRCFILE} |
60 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
61 |
mirror://${PNAME}/${PNAME}-045-magellan.patch |
mirror://${PNAME}/${PNAME}-047-magellan.patch |
62 |
mirror://${PNAME}/${PNAME}-036-mkinitrd-ignore-allow-missing-switch.patch |
mirror://${PNAME}/${PNAME}-036-mkinitrd-ignore-allow-missing-switch.patch |
63 |
mirror://${PNAME}/${PNAME}-019-convertfs-make-selinux-optional.patch |
mirror://${PNAME}/${PNAME}-019-convertfs-make-selinux-optional.patch |
64 |
mirror://${PNAME}/${PNAME}-046-network-support-udhcpc-dhcpcd.patch |
mirror://${PNAME}/${PNAME}-047-network-support-udhcpc-dhcpcd.patch |
65 |
|
mirror://${PNAME}/${PNAME}-047-fs-lib_install_crc32c_for_ext4.patch |
66 |
|
mirror://${PNAME}/${PNAME}-047-fs-lib_install_crc32_in_no-hostonly_for_f2fs.patch |
67 |
) |
) |
68 |
|
|
69 |
UP2DATE="updatecmd http://www.kernel.org/pub/linux/utils/boot/${PNAME} | highesttarball xz" |
UP2DATE="updatecmd http://www.kernel.org/pub/linux/utils/boot/${PNAME} | highesttarball xz" |
114 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
115 |
cd ${SRCDIR} |
cd ${SRCDIR} |
116 |
|
|
117 |
|
# upstream: fix missing crc32c kernel mod for ext4 and missing crc32 mod for f2fs |
118 |
|
mpatch ${PNAME}-047-fs-lib_install_crc32c_for_ext4.patch || die |
119 |
|
mpatch ${PNAME}-047-fs-lib_install_crc32_in_no-hostonly_for_f2fs.patch || die |
120 |
|
|
121 |
# magellan compat patch |
# magellan compat patch |
122 |
mpatch ${PNAME}-045-magellan.patch || die |
mpatch ${PNAME}-047-magellan.patch || die |
123 |
|
|
124 |
# for better mkinitrd compat and to fully support new-kernel-pkg |
# for better mkinitrd compat and to fully support new-kernel-pkg |
125 |
# as drop-in replacement ignore the --allow-missing switch |
# as drop-in replacement ignore the --allow-missing switch |
129 |
mpatch ${PNAME}-019-convertfs-make-selinux-optional.patch || die |
mpatch ${PNAME}-019-convertfs-make-selinux-optional.patch || die |
130 |
|
|
131 |
# add support for dhcpcd and udhcpc in the network module |
# add support for dhcpcd and udhcpc in the network module |
132 |
mpatch ${PNAME}-046-network-support-udhcpc-dhcpcd.patch || die |
mpatch ${PNAME}-047-network-support-udhcpc-dhcpcd.patch || die |
133 |
|
|
134 |
# remove gentoo specific modules |
# remove gentoo specific modules |
135 |
rm -rf modules.d/50gensplash || die |
rm -rf modules.d/50gensplash || die |