Skip to content

Commit

Permalink
Add DHC releated package into repo to slove DHC installation dependen…
Browse files Browse the repository at this point in the history
…cy issue
  • Loading branch information
Li Q, Chris authored and langtaibai committed Aug 31, 2023
1 parent 4b2b87d commit 363cd6c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions late/scripts/pool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,15 @@ if [ ! -f /etc/apt/sources.list.d/dell.list ]; then
for dir in /cdrom/debs /isodevice/debs /dell/debs;
do
if [ -d "$dir" ]; then
cd $dir
apt-ftparchive packages ../../$dir | sed "s/^Filename:\ ..\//Filename:\ .\//" >> /Packages
cd $dir
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 ../../../$dir | 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 363cd6c

Please sign in to comment.