Skip to content

Commit

Permalink
Revert "Delete /var/lib/dpkg/status from boxes"
Browse files Browse the repository at this point in the history
This reverts commit 68195cd.
This had no effect and was a wrong assumption from my side
  • Loading branch information
schaefi committed Sep 6, 2024
1 parent 9c84417 commit f421e6e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions boxes/images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ function run_build {
# sort of security
setenforce 0
fi
if [ -e /var/lib/dpkg/status ];then
# An existing status file confuses apt-get when called
# in the bootstrap phase. In the box we can simply
# empty the file to fix this.
cat > /var/lib/dpkg/status < /dev/null
fi
echo 1 > "${exit_code_file}"
rm -rf /result
options=$(cut -f2 -d\" /proc/cmdline)
Expand Down

0 comments on commit f421e6e

Please sign in to comment.