Skip to content

Commit ca27d3a

Browse files
committed
Do not rely on the patched lsb_release
1 parent 29a2926 commit ca27d3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/config/hooks/live/000-remove-blacklisted-packages.chroot

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

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

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

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

0 commit comments

Comments
 (0)