addpackages autofs

Emmanuel.Leguy Emmanuel.Leguy at lifl.fr
Fri Nov 5 18:01:06 CET 2004


Hello,

I have a customized autofs package that i want to install. So in the 
/fai/class/DEFAULT.var i put:

addpackages="kernel-image-2.6.8-1-386 autofs"

after puting my deb package autofs.deb in the /fai/files/packages/ dir 
and runing:

dpkg-scanpackages packages /dev/null | gzip > Packages.gz

Here the result of dpkg-scanpackages packages /dev/null:

-----------------------------------------------
Package: autofs
Version: 4.0.0pre10-0.1
Priority: extra
Section: utils
Maintainer: Adam Heath <doogie at debian.org>
Depends: libc6 (>= 2.2.4-2), procps
Recommends: nfs-common
Conflicts: samba (<< 2.0.6-1)
Architecture: i386
Filename: packages/autofs_4.0.0pre10-0.1_i386.deb
Size: 62982
Installed-Size: 173
MD5sum: 09c09afaf5fb9da677e7e221950f3d8a
Description: A kernel-based automounter for Linux.
 The kernel automounter implements an almost complete SunOS style
 automounter under Linux. The automounter is supported by Linux kernels
 2.0.31 and higher or the 2.1.X series. Automounter support must
 be activated while compiling the kernel.

 ** Packages in archive but missing from override file: **
  autofs

 Wrote 1 entries to output Packages file.
-----------------------------------------------------

but the installation process get the package from the mirror.

Here my /etc/apt/sources.list:

------------------------------------------------------
deb file:/fai/files packages/
deb http://ftp.de.debian.org/debian sarge main contrib non-free
#deb http://ftp.de.debian.org/debian sarge-proposed-updates main contrib 
non-free
deb http://ftp.de.debian.org/debian-non-US sarge/non-US main contrib 
non-free
#deb http://ftp.de.debian.org/debian-non-US 
sarge-proposed-updates/non-US main contrib non-free
deb http://security.debian.org/debian-security sarge/updates main 
contrib non-free
------------------------------------------------------

Here what produce /fai/scripts/DEFAULT/S01 (from shell.log):

------------------------------------------------------
+ chroot /tmp/target apt-get install kernel-image-2.6.8-1-386 autofs
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  cramfsprogs dash initrd-tools
Suggested packages:
  lilo fdutils kernel-doc-2.6.8 kernel-source-2.6.8
The following NEW packages will be installed:
  autofs cramfsprogs dash initrd-tools kernel-image-2.6.8-1-386
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.2MB of archives.
After unpacking 42.8MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org sarge/main dash 0.5.1-3 [82.0kB]
Get:2 http://ftp.de.debian.org sarge/main cramfsprogs 1.1-6 [21.3kB]
Get:3 http://ftp.de.debian.org sarge/main initrd-tools 0.1.74 [26.9kB]
Get:4 http://ftp.de.debian.org sarge/main kernel-image-2.6.8-1-386 
2.6.8-4 [14.0MB]
Get:5 http://ftp.de.debian.org sarge/main autofs 4.1.3-4 [94.9kB]
Preconfiguring packages ...
Fetched 14.2MB in 2s (5063kB/s)
Selecting previously deselected package dash.
(Reading database ... 9342 files and directories currently installed.)
Unpacking dash (from .../archives/dash_0.5.1-3_i386.deb) ...
Selecting previously deselected package cramfsprogs.
Unpacking cramfsprogs (from .../cramfsprogs_1.1-6_i386.deb) ...
Selecting previously deselected package initrd-tools.
Unpacking initrd-tools (from .../initrd-tools_0.1.74_all.deb) ...
Selecting previously deselected package kernel-image-2.6.8-1-386.
Unpacking kernel-image-2.6.8-1-386 (from 
.../kernel-image-2.6.8-1-386_2.6.8-4_i386.deb) ...
Selecting previously deselected package autofs.
Unpacking autofs (from .../autofs_4.1.3-4_i386.deb) ...
Setting up dash (0.5.1-3) ...

Setting up cramfsprogs (1.1-6) ...
Setting up initrd-tools (0.1.74) ...

Setting up kernel-image-2.6.8-1-386 (2.6.8-4) ...
/initrd.img does not exist. Installing from scratch, eh?
Or maybe you don't want a symbolic link here. Hmm? Lets See.

Setting up autofs (4.1.3-4) ...
Starting automounter:.
------------------------------------------------------

Is it the normal behaviour? Is it possible to tell apt-get to first look 
at 'file:/' entries?
Must I change the package name?

Thank you,

Manu.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4071 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20041105/7ca5fed1/attachment.bin 


More information about the linux-fai mailing list