Skip to content

Commit

Permalink
Do not rely on the patched lsb_release
Browse files Browse the repository at this point in the history
  • Loading branch information
tintou committed Jan 26, 2023
1 parent 29a2926 commit ca27d3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etc/config/hooks/live/000-remove-blacklisted-packages.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

echo "P: Begin executing remove-blacklisted-packages chroot hook..."

dist="$(lsb_release -c -s -u 2>&1)"||dist="$(lsb_release -c -s)"
export LSB_OS_RELEASE="/usr/lib/upstream-os-release"
dist="$(lsb_release -c -s)"
unset LSB_OS_RELEASE

apt-get install --no-install-recommends -f -q -y git

Expand Down

0 comments on commit ca27d3a

Please sign in to comment.