mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04: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
|
||||
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}/"
|
||||
|
||||
# copy rpmdb to outputs
|
||||
|
Loading…
Reference in New Issue
Block a user