Write list of packages to /root/lorax-packages.log

This commit is contained in:
Brian C. Lane 2014-10-21 10:04:47 -07:00
parent ddfc6060c5
commit c04ff4132b

View File

@ -111,4 +111,7 @@ remove etc/lvm/cache/*
remove etc/lvm/cache remove etc/lvm/cache
append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n" append etc/lvm/lvm.conf "global {\n\tuse_lvmetad = 1\n}\n"
## Record the package versions used to create the image
runcmd chroot ${root} /bin/rpm -qa --pipe "tee /root/lorax-packages.log"
## TODO: we could run prelink here if we wanted? ## TODO: we could run prelink here if we wanted?