Updated information
This commit is contained in:
parent
83785b9b74
commit
5e8440ca37
@ -62,18 +62,17 @@ src_prepare() {
|
|||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
kernel-2_pkg_postinst
|
kernel-2_pkg_postinst
|
||||||
einfo "For more info on this patchset, and how to report problems, see:"
|
kernel-2_pkg_postinst
|
||||||
einfo "${HOMEPAGE}"
|
einfo "To build and install the kernel use the following commands:"
|
||||||
einfo "To build the kernel use the following command:"
|
einfo "# make Image modules"
|
||||||
einfo "make Image Image.gz modules"
|
einfo "# make DTC_FLAGS="-@" dtbs"
|
||||||
einfo "make DTC_FLAGS="-@" dtbs"
|
einfo "# cp arch/arm64/boot/Image /boot"
|
||||||
einfo "make install; make modules_intall; make dtbs_install"
|
einfo "# make INSTALL_MOD_PATH=/usr modules_install"
|
||||||
einfo "If you use kernel config coming with this ebuild, don't forget to also copy dracut-pp.conf to /etc/dracut.conf.d/"
|
einfo "# make INSTALL_DTBS_PATH=/boot/dtbs dtbs_install"
|
||||||
einfo "to make sure proper kernel modules are loaded into initramfs"
|
einfo "You will need to create and initramfs afterwards."
|
||||||
einfo "if you want to cross compile pinephone kernel on amd64 host, follow the https://wiki.gentoo.org/wiki/Cross_build_environment"
|
einfo "If you use dracut you can run:"
|
||||||
einfo "to setup cross toolchain environment, then create a xmake wrapper like the following, and replace make with xmake in above commands"
|
einfo "# dracut -m \"rootfs-block base\" --host-only --kver 5.19.0-gentoo-arm64"
|
||||||
einfo "#!/bin/sh"
|
einfo "Change 5.19.0-gentoo-arm64 to your kernel version installed in /lib/modules"
|
||||||
einfo "exec make ARCH='arm64' CROSS_COMPILE='aarch64-unknown-linux-gnu-' INSTALL_MOD_PATH='${SYSROOT}' '$@'"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
|
Loading…
Reference in New Issue
Block a user