mirror of
https://github.com/AlmaLinux/ks2rootfs.git
synced 2024-11-27 03:23:07 +00:00
Compare commits
2 Commits
8938d9c140
...
fcc336f00d
Author | SHA1 | Date | |
---|---|---|---|
fcc336f00d | |||
7ce5dcb59a |
@ -10,6 +10,7 @@ RUN mkdir -p /mnt/system-root /mnt/system-root/build; \
|
|||||||
glibc-minimal-langpack \
|
glibc-minimal-langpack \
|
||||||
anaconda-tui \
|
anaconda-tui \
|
||||||
lorax \
|
lorax \
|
||||||
|
subscription-manager \
|
||||||
jq \
|
jq \
|
||||||
tar \
|
tar \
|
||||||
policycoreutils \
|
policycoreutils \
|
||||||
|
@ -136,7 +136,9 @@ if [ ${BUILD_FLAG_WRITE_META} == 'true' ]; then
|
|||||||
echo "$distro_release" > ${BUILD_OUTDIR}/distro-release
|
echo "$distro_release" > ${BUILD_OUTDIR}/distro-release
|
||||||
fi
|
fi
|
||||||
# save list of packages installed
|
# save list of packages installed
|
||||||
jq .[] -r /tmp/dnf.cache/tempfiles.json | awk -F '/' '{print $5}' | sort > ${BUILD_OUTDIR}/pkgs-list
|
jq .[] -r /tmp/dnf.cache/tempfiles.json | awk -F '/' '{print $5}' | sort > ${BUILD_OUTDIR}/pkgs-list-rpm
|
||||||
|
cat ${BUILD_OUTDIR}/pkgs-list-rpm | sed 's/-[0-9].*//g' > ${BUILD_OUTDIR}/pkgs-list-only
|
||||||
|
cat ${BUILD_OUTDIR}/pkgs-list-rpm | sed 's/.el[0-9].*//g' > ${BUILD_OUTDIR}/pkgs-list
|
||||||
echo 'Writting meta data completed.'
|
echo 'Writting meta data completed.'
|
||||||
else
|
else
|
||||||
echo 'Skip writing meta data based on configuration.'
|
echo 'Skip writing meta data based on configuration.'
|
||||||
|
Loading…
Reference in New Issue
Block a user