diff options
author | 2021-07-01 16:05:00 +0200 | |
---|---|---|
committer | 2021-07-01 16:05:00 +0200 | |
commit | bfa151f74cbf5df09db2499c6ad8c57a56dfb221 (patch) | |
tree | f7a74a3f16cae1709e5a542a277e287bb6239e7f | |
parent | sys-boot/grub-static: empty revbump for eapi (diff) | |
download | dilfridge-bfa151f74cbf5df09db2499c6ad8c57a56dfb221.tar.gz dilfridge-bfa151f74cbf5df09db2499c6ad8c57a56dfb221.tar.bz2 dilfridge-bfa151f74cbf5df09db2499c6ad8c57a56dfb221.zip |
sys-boot/grub-static: Fix installation
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r-- | sys-boot/grub-static/grub-static-0.97-r13.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-boot/grub-static/grub-static-0.97-r13.ebuild b/sys-boot/grub-static/grub-static-0.97-r13.ebuild index 20db880..e251d33 100644 --- a/sys-boot/grub-static/grub-static-0.97-r13.ebuild +++ b/sys-boot/grub-static/grub-static-0.97-r13.ebuild @@ -12,6 +12,8 @@ inherit eutils toolchain-funcs linux-info PATCHVER="1.14" # Not used, just for tracking with main grub +TARBALL_R="r12" + DESCRIPTION="GNU GRUB Legacy boot loader (static build)" HOMEPAGE="https://www.gnu.org/software/grub/" @@ -38,9 +40,11 @@ pkg_setup() { } src_install() { - cp -a * "${D}"/ + cp -a * "${D}"/ || die + rm -rf "${D}"/usr/share/doc/${P}-${TARBALL_R} || die + # Make sure the docs get compressed - dodoc usr/share/doc/${PF}/* + dodoc usr/share/doc/${P}-${TARBALL_R}/* if [[ -z "${I_KNOW_WHAT_I_AM_DOING}" ]]; then run_test_grub "${D}"/sbin/grub && einfo "New grub can run on your system, good!" |