mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 08:20:15 -05:00
image: create package manifest in chroot
rpm doesn't work properly when run on the host.
This commit is contained in:
parent
23e456a265
commit
58e7af5364
@ -10,7 +10,7 @@ mv "${BUILDROOT}/etc/issue.d" "${BUILDROOT}/usr/lib/issue.d" || true
|
|||||||
|
|
||||||
# generate reproducible package manifest
|
# generate reproducible package manifest
|
||||||
mkdir -p "${BUILDROOT}/usr/share/constellation"
|
mkdir -p "${BUILDROOT}/usr/share/constellation"
|
||||||
rpm -qa --qf '%{name};%{version};%{license}\n' --dbpath "${BUILDROOT}/var/lib/rpm/" | LC_ALL=C sort | tee "${BUILDROOT}/usr/share/constellation/packagemanifest"
|
mkosi-chroot rpm -qa --qf '%{name};%{version};%{license}\n' --dbpath "/var/lib/rpm/" | LC_ALL=C sort | tee "${BUILDROOT}/usr/share/constellation/packagemanifest"
|
||||||
cp "${BUILDROOT}/usr/share/constellation/packagemanifest" "${OUTPUTDIR}/"
|
cp "${BUILDROOT}/usr/share/constellation/packagemanifest" "${OUTPUTDIR}/"
|
||||||
|
|
||||||
# copy rpmdb to outputs
|
# copy rpmdb to outputs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user