summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-15 04:45:56 +0000
committerSam James <sam@gentoo.org>2023-12-15 04:45:56 +0000
commitcae6cb10b6b83d8b311a8857524a578fdc178e78 (patch)
tree582497ed9de5d9684901cb5aece342130985f82e /sys-fs/btrfs-progs
parentapp-arch/unrar: Stabilize 6.2.12-r1 arm64, #919932 (diff)
downloadgentoo-cae6cb10b6b83d8b311a8857524a578fdc178e78.tar.gz
gentoo-cae6cb10b6b83d8b311a8857524a578fdc178e78.tar.bz2
gentoo-cae6cb10b6b83d8b311a8857524a578fdc178e78.zip
sys-fs/btrfs-progs: fix src_unpack for live
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/btrfs-progs')
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-6.6.3.ebuild5
-rw-r--r--sys-fs/btrfs-progs/btrfs-progs-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-fs/btrfs-progs/btrfs-progs-6.6.3.ebuild b/sys-fs/btrfs-progs/btrfs-progs-6.6.3.ebuild
index 3fada8bdae41..3bf885a87641 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-6.6.3.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-6.6.3.ebuild
@@ -96,6 +96,11 @@ pkg_setup() {
}
src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ return
+ fi
+
if in_iuse verify-sig && use verify-sig ; then
mkdir "${T}"/verify-sig || die
pushd "${T}"/verify-sig &>/dev/null || die
diff --git a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
index 3fada8bdae41..3bf885a87641 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
@@ -96,6 +96,11 @@ pkg_setup() {
}
src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ return
+ fi
+
if in_iuse verify-sig && use verify-sig ; then
mkdir "${T}"/verify-sig || die
pushd "${T}"/verify-sig &>/dev/null || die