Write list of packages to /root/lorax-packages.log
This commit is contained in:
parent
ddfc6060c5
commit
c04ff4132b
@ -111,4 +111,7 @@ remove etc/lvm/cache/*
|
||||
remove etc/lvm/cache
|
||||
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?
|
||||
|
Loading…
Reference in New Issue
Block a user