forked from pool/obs-service-kiwi_metainfo_helper
Accepting request 1112210 from Kernel:tools
- cpio on SLE12 does not support -D option, emulate it. OBS-URL: https://build.opensuse.org/request/show/1112210 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-kiwi_metainfo_helper?expand=0&rev=34
This commit is contained in:
parent
7c12e140a7
commit
696ee5137a
@ -71,7 +71,7 @@ if grep -q "%OS_" ${files[@]}; then
|
||||
# Extract the content
|
||||
tempdir=$(mktemp -d)
|
||||
trap "rm -r ${tempdir}" EXIT
|
||||
rpm2cpio "${relpkgs[0]}" | cpio -idD "${tempdir}"
|
||||
rpm2cpio "${relpkgs[0]}" | (cd "${tempdir}" && cpio -id)
|
||||
|
||||
# And source it
|
||||
[ -f "${tempdir}/usr/lib/os-release" ] && . "${tempdir}/usr/lib/os-release"
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 15 13:08:03 UTC 2023 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
- cpio on SLE12 does not support -D option, emulate it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 17:10:20 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package obs-service-kiwi_metainfo_helper
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
Loading…
Reference in New Issue
Block a user