gnu: android-selinux: Simplify.

* gnu/packages/android.scm (android-selinux)[arguments]<#:phases>[unpack-core]: Delete.
[native-inputs]: Remove "core".
This commit is contained in:
Danny Milosavljevic 2018-05-10 01:04:46 +02:00
parent 3766aa921b
commit 0d697202fc
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 0 additions and 7 deletions

View File

@ -435,12 +435,6 @@ that is safe to use for user space. It also includes
"LDFLAGS=-L . -lpcre") "LDFLAGS=-L . -lpcre")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'unpack-core
(lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "core")
(with-directory-excursion "core"
(invoke "tar" "axf" (assoc-ref inputs "core") "--strip-components=1"))
#t))
(add-after 'unpack-core 'patch-HOST (add-after 'unpack-core 'patch-HOST
(lambda _ (lambda _
;; gettid duplicates otherwise. ;; gettid duplicates otherwise.
@ -451,7 +445,6 @@ that is safe to use for user space. It also includes
`(("openssl" ,openssl))) `(("openssl" ,openssl)))
(native-inputs (native-inputs
`(("android-bionic-uapi" ,android-bionic-uapi) `(("android-bionic-uapi" ,android-bionic-uapi)
("core" ,(android-platform-system-core version))
;; pcre is inlined by our package. ;; pcre is inlined by our package.
("pcre" ,pcre))) ("pcre" ,pcre)))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")