From eb0439f3aae1f5db277c3fcc151b9af75fcb0d49 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Tue, 25 Jan 2022 21:58:47 +0100 Subject: [PATCH] Changed post install message --- .../pinephone-pro-sources-5.16.0.ebuild | 16 ++++++---------- .../pinephone-pro-sources-5.16.1.ebuild | 16 ++++++---------- .../pinephone-pro-sources-5.16.2.ebuild | 16 ++++++---------- 3 files changed, 18 insertions(+), 30 deletions(-) diff --git a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild index 547f8ba..c48a0b3 100644 --- a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild +++ b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.0.ebuild @@ -109,16 +109,12 @@ src_prepare() { pkg_postinst() { kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" - einfo "To build the kernel use the following command:" - einfo "make Image Image.gz modules" - einfo "make DTC_FLAGS="-@" dtbs" - einfo "make install; make modules_intall; make dtbs_install" - einfo "if you want to cross compile pinephone kernel on amd64 host, follow the https://wiki.gentoo.org/wiki/Cross_build_environment" - einfo "to setup cross toolchain environment, then create a xmake wrapper like the following, and replace make with xmake in above commands" - einfo "#!/bin/sh" - einfo "exec make ARCH='arm64' CROSS_COMPILE='aarch64-unknown-linux-gnu-' INSTALL_MOD_PATH='${SYSROOT}' '$@'" + einfo "To build and install the kernel use the following commands:" + einfo "# make Image modules" + einfo "# make DTC_FLAGS="-@" dtbs" + einfo "# cp arch/arm64/boot/Image /boot" + einfo "# make /usr modules_intall" + einfo "# make /boot/dtbs dtbs_install" } pkg_postrm() { diff --git a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.1.ebuild b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.1.ebuild index 148d8d8..6c155c5 100644 --- a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.1.ebuild +++ b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.1.ebuild @@ -111,16 +111,12 @@ src_prepare() { pkg_postinst() { kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" - einfo "To build the kernel use the following command:" - einfo "make Image Image.gz modules" - einfo "make DTC_FLAGS="-@" dtbs" - einfo "make install; make modules_intall; make dtbs_install" - einfo "if you want to cross compile pinephone kernel on amd64 host, follow the https://wiki.gentoo.org/wiki/Cross_build_environment" - einfo "to setup cross toolchain environment, then create a xmake wrapper like the following, and replace make with xmake in above commands" - einfo "#!/bin/sh" - einfo "exec make ARCH="${FILESDIR}"/arm64"${FILESDIR}"/ CROSS_COMPILE="${FILESDIR}"/aarch64-unknown-linux-gnu-"${FILESDIR}"/ INSTALL_MOD_PATH="${FILESDIR}"/${SYSROOT}"${FILESDIR}"/ "${FILESDIR}"/$@"${FILESDIR}"/" + einfo "To build and install the kernel use the following commands:" + einfo "# make Image modules" + einfo "# make DTC_FLAGS="-@" dtbs" + einfo "# cp arch/arm64/boot/Image /boot" + einfo "# make /usr modules_intall" + einfo "# make /boot/dtbs dtbs_install" } pkg_postrm() { diff --git a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.2.ebuild b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.2.ebuild index df5635c..81405a0 100644 --- a/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.2.ebuild +++ b/sys-kernel/pinephone-pro-sources/pinephone-pro-sources-5.16.2.ebuild @@ -112,16 +112,12 @@ src_prepare() { pkg_postinst() { kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" - einfo "To build the kernel use the following command:" - einfo "make Image Image.gz modules" - einfo "make DTC_FLAGS="-@" dtbs" - einfo "make install; make modules_intall; make dtbs_install" - einfo "if you want to cross compile pinephone kernel on amd64 host, follow the https://wiki.gentoo.org/wiki/Cross_build_environment" - einfo "to setup cross toolchain environment, then create a xmake wrapper like the following, and replace make with xmake in above commands" - einfo "#!/bin/sh" - einfo "exec make ARCH="${FILESDIR}"/arm64"${FILESDIR}"/ CROSS_COMPILE="${FILESDIR}"/aarch64-unknown-linux-gnu-"${FILESDIR}"/ INSTALL_MOD_PATH="${FILESDIR}"/${SYSROOT}"${FILESDIR}"/ "${FILESDIR}"/$@"${FILESDIR}"/" + einfo "To build and install the kernel use the following commands:" + einfo "# make Image modules" + einfo "# make DTC_FLAGS="-@" dtbs" + einfo "# cp arch/arm64/boot/Image /boot" + einfo "# make /usr modules_intall" + einfo "# make /boot/dtbs dtbs_install" } pkg_postrm() {