diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-28 18:02:40 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-28 18:35:59 +0200 |
commit | ec43af22117f4a55ee206d2a28394b55d3f836f1 (patch) | |
tree | 2460ec8c9ee8626a94dc7c5df394b0da381fabf9 /gkbuilds | |
parent | gkbuilds/e2fsprogs: Build resize2fs (diff) | |
download | genkernel-ec43af22117f4a55ee206d2a28394b55d3f836f1.tar.gz genkernel-ec43af22117f4a55ee206d2a28394b55d3f836f1.tar.bz2 genkernel-ec43af22117f4a55ee206d2a28394b55d3f836f1.zip |
gkbuilds/xfsprogs: Build xfs_growfs
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds')
-rw-r--r-- | gkbuilds/xfsprogs.gkbuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gkbuilds/xfsprogs.gkbuild b/gkbuilds/xfsprogs.gkbuild index 9884687..c0b2d33 100644 --- a/gkbuilds/xfsprogs.gkbuild +++ b/gkbuilds/xfsprogs.gkbuild @@ -32,15 +32,24 @@ src_configure() { } src_compile() { - gkmake V=1 headers repair + gkmake V=1 headers growfs repair } src_install() { mkdir "${D}"/sbin || die "Failed to create '${D}/sbin'!" + cp growfs/xfs_growfs "${D}"/sbin \ + || die "Failed to copy '${S}/repair/xfs_growfs' to '${D}/sbin/'!" + cp repair/xfs_repair "${D}"/sbin \ || die "Failed to copy '${S}/repair/xfs_repair' to '${D}/sbin/'!" - "${STRIP}" --strip-all "${D}"/sbin/xfs_repair \ - || die "Failed to strip '${D}/sbin/xfs_repair'!" + local sbin + for sbin in \ + "${D}/sbin/xfs_growfs" \ + "${D}/sbin/xfs_repair" \ + ; do + "${STRIP}" --strip-all "${sbin}" \ + || die "Failed to strip '${sbin}'!" + done } |