Skip to content

Commit

Permalink
Add DHC releated packages into repo to slove DHC installation depende…
Browse files Browse the repository at this point in the history
…ncy issue
  • Loading branch information
Li Q, Chris authored and CragW committed Aug 31, 2023
1 parent 4b2b87d commit 4e15a3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions late/scripts/pool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ if [ ! -f /etc/apt/sources.list.d/dell.list ]; then
apt-ftparchive packages ../../$dir | sed "s/^Filename:\ ..\//Filename:\ .\//" >> /Packages
fi
done
#Add DHC packages to solve DHC package denpendency issue
if [ -d "/cdrom/dhc/packages" ]; then
cd /cdrom/dhc/packages
apt-ftparchive packages ../../..//cdrom/dhc/packages | sed "s/^Filename:\ ..\//Filename:\ .\//" >> /Packages
fi
if [ -f /Packages ]; then
echo "deb file:/ /" > /etc/apt/sources.list.d/dell.list
fi
Expand Down

0 comments on commit 4e15a3e

Please sign in to comment.