diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-08-31 16:31:47 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-08-31 17:13:01 +0200 |
commit | dd8e1eae1f8d17d168969af5756901a7df5be4fc (patch) | |
tree | b92e7e402d75116c65535af05a1183accf6c3265 | |
parent | 178ab1cfab6d712cd0460270e8ca4e799d44d5de (diff) | |
download | hardware_replicant_libsamsung-ril-dd8e1eae1f8d17d168969af5756901a7df5be4fc.tar.gz hardware_replicant_libsamsung-ril-dd8e1eae1f8d17d168969af5756901a7df5be4fc.tar.bz2 hardware_replicant_libsamsung-ril-dd8e1eae1f8d17d168969af5756901a7df5be4fc.zip |
guix.scm: libsamsung-ril: fix upack-core
Without that fix we have the following error that make the build fail:
[...]
phase `unpack' succeeded after 0.1 seconds
starting phase `unpack-core'
tar: /gnu/store/[...]-android-platform-system-core-7.1.2_r36-checkout:
Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
[...]
This is probably because for some reasons there is no more tarball of
it being made, so we have to copy the data instead of extracting it.
In guix a similar fix was made in commit
e227b0820a93c4a264a169895948d6d2c0c37005 ("gnu: android-ext4-utils:
Fix build.").
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | scripts/guix.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/guix.scm b/scripts/guix.scm index 006b980..2ef3318 100644 --- a/scripts/guix.scm +++ b/scripts/guix.scm @@ -280,10 +280,8 @@ (lambda* (#:key inputs #:allow-other-keys) (mkdir-p "core") - (with-directory-excursion - "core" - (invoke "tar" "axf" (assoc-ref inputs "android-core") - "--strip-components=1")) + (copy-recursively (assoc-ref inputs "android-core") + "core") #t)) (delete 'bootstrap) (add-before |