Commit 37ebdc1a authored by Natanael Copa's avatar Natanael Copa

lbu: save the /var/lib/apk/world file in lbu package

parent aa24561d
...@@ -206,6 +206,9 @@ cmd_package() { ...@@ -206,6 +206,9 @@ cmd_package() {
cd "${ROOT:-/}" cd "${ROOT:-/}"
currentlist=$(apk audit --backup -q) currentlist=$(apk audit --backup -q)
if [ -f var/lib/apk/world ]; then
currentlist="$currentlist var/lib/apk/world"
fi
# create tar archive # create tar archive
[ -f "$EXCLUDE_LIST" ] && excl="-X $EXCLUDE_LIST" [ -f "$EXCLUDE_LIST" ] && excl="-X $EXCLUDE_LIST"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment