FS#16205 - AIF package dependencies
Attached to Project:
Release Engineering
Opened by Roman Widmann (archme) - Tuesday, 15 September 2009, 11:43 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Tuesday, 09 March 2010, 22:05 GMT
Opened by Roman Widmann (archme) - Tuesday, 15 September 2009, 11:43 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Tuesday, 09 March 2010, 22:05 GMT
|
Details
2 things i noticed during trying to use AIF with automatic
procedure.
1. coreutils (/usr/bin/tac) and grub are requiered perhaps these could be added as dependencies 2. SYNC_URL='ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686' must have the single quotes in automatic config otherwise the $repo will become empty. |
This task depends upon
afaik we only need grub on the installed system (we do stuff like `$var_TARGET_DIR/sbin/grub`)
the dependency on tac (coreutils) is correct, but it's from the base correct, and AFAIK it's an arch policy to assume base packages are always installed (feel free to correct me here)
2) I couldn't find a mention of 'ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686' anywhere in the source code.
I used archlinux-2009.08-1-archboot.iso, as i wanted to install through PXE.
To make the automatic procedure run successfull, i had to install coreutils and diffutils first.
Also grub seems to be a dependency for the live environment.
Take a look at core/procedures/automatic line 136:
grub-install $var_GRUB_DEVICE --root-directory=/mnt
2) I did not mean the exact string 'ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686'
What i meant is that in the automatic-config you MUST put the mirror-url in single quotes
eg.: SYNC_URL='ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686'
If you dont, the $repo variable will have no value
This is different to the sytax in mirrorlist, where you dont need quotes
I used archlinux-2009.08-1-archboot.iso, as i wanted to install through PXE.
To make the automatic procedure run successfull, i had to install coreutils and diffutils first.
Also grub seems to be a dependency for the live environment.
Take a look at core/procedures/automatic line 136:
grub-install $var_GRUB_DEVICE --root-directory=/mnt
2) I did not mean the exact string 'ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686'
What i meant is that in the automatic-config you MUST put the mirror-url in single quotes
eg.: SYNC_URL='ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686'
If you dont, the $repo variable will have no value
This is different to the sytax in mirrorlist, where you dont need quotes
2) also good point. http://projects.archlinux.org/aif.git/commit/?h=experimental&id=ab74b9320f9a42cdce342f082b99c470869ca890
http://www.archlinux.org/packages/extra/any/aif/