FS#18733 - Dependencies from other repos are downloaded by download-repo.sh

Attached to Project: Release Engineering
Opened by Heiko Baums (cyberpatrol) - Thursday, 18 March 2010, 07:52 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 07 July 2010, 19:40 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2009.08
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The script archiso/configs/syslinux-iso/download-repo.sh from git://projects.archlinux.org/archiso.git downloads not only the as parameter given repository but also the dependencies from other repos and stores everything in the given path of the given repo.

This is only a minor bug, because for the official core-iso only core is downloaded which hasn't any dependencies in other repos, but because core is not hard-coded in this script it's probably better to fix it. This is done by just adding the parameter -d to the pacman -Sp command.

So the line
for url in $(/usr/bin/pacman -Sp $PKGS | grep '://'); do
should be changed to
for url in $(/usr/bin/pacman -Sdp $PKGS | grep '://'); do
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Wednesday, 07 July 2010, 19:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Gerardo says: fixed in git.

Thanks for reporting Heiko

Loading...