Skip to content

Commit

Permalink
Query BIOS ID via tag 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Li-Hao Liao (Leon Liao) authored and superm1 committed Jan 22, 2019
1 parent e1e0805 commit 9637243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion late/chroot_scripts/03-ubuntu-drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for pkg in `ubuntu-drivers list`; do
done

#install meta package based upon BIOS ID
BIOS_ID=$(dmidecode -t 11 | sed '/String 2:/!d; s,.*String 2: 1\[,,; s,\],,' | tr A-Z a-z)
BIOS_ID=$(dmidecode -t 11 | sed '/ 1\[/!d; s,.* 1\[,,; s,\],,' | tr A-Z a-z)
SERIES=$(lsb_release -cs)
for pkg in dell-$BIOS_ID-meta dell-$BIOS_ID-$SERIES-meta; do
if ! dpkg-query -W $pkg >/dev/null 2>&1; then
Expand Down

0 comments on commit 9637243

Please sign in to comment.