Re: FAI initramfs-tools breaks console-setup
> On Thu, 13 Nov 2014 09:36:51 +0100, Robert Markula > said: > Hello, > have there been changes to initramfs-tools in the FAI wheezy > repositories lately? Yes. I put a newer version into the fai-project.org repository. because we hab problems when using the 3.16 bpo kernel. > Btw, is the FAI repository required for building the NFSroot (running > fai-setup and/or fai-nfsroot) You should use the FAI repository, so that you will get FAI 4.2.5 on your install server (when running Debian wheezy). You can remove this once you have installed the FAI packages. When builing the nfsroot /etc/fai/apt./sources.list ^^^ is used. There you should include the FAI repository (for getting the newer FAI packages). -- regards Thomas
Re: FAI initramfs-tools breaks console-setup
Quoting Thomas Lange : On Thu, 13 Nov 2014 09:36:51 +0100, Robert Markula said: > Hello, > have there been changes to initramfs-tools in the FAI wheezy > repositories lately? Yes. I put a newer version into the fai-project.org repository. because we hab problems when using the 3.16 bpo kernel. When builing the nfsroot /etc/fai/apt./sources.list ^^^ is used. There you should include the FAI repository (for getting the newer FAI packages). You are right, it absolutely makes sense to use the latest FAI packages. Is the breakage of initramfs-tools something that can/will be fixed with a later release? Is there an archive of old FAI releases somewhere that one can use in the meantime? Regards, Robert
Re: FAI initramfs-tools breaks console-setup
> On Thu, 13 Nov 2014 21:38:48 +0100, Robert Markula > said: > Is the breakage of initramfs-tools something that can/will > be fixed with a later release? > Is there an archive of old FAI releases somewhere that one can use in > the meantime? This is not the fault of a certain FAI package, because FAI has no special dependency on initramfs-tools. The breakage appears, because I've added a initramfs-tools package to the fai-project.org repository, in order to avoid a breakage when using the 3.16 backports kernel for wheezy. Since the breakage is in Ubuntu, I don't know how to fix this. I'm also wondering why Ubuntu 14.04 only has console-setup 1.70. Even Debian wheezy (released in may 2013) has version 1.88. Maybe you can fix this by setting the initramfs-tools package on hold. -- regards Thomas
Re: FAI initramfs-tools breaks console-setup
Quoting Thomas Lange : On Thu, 13 Nov 2014 21:38:48 +0100, Robert Markula said: > Is the breakage of initramfs-tools something that can/will > be fixed with a later release? > Is there an archive of old FAI releases somewhere that one can use in > the meantime? This is not the fault of a certain FAI package, because FAI has no special dependency on initramfs-tools. The breakage appears, because I've added a initramfs-tools package to the fai-project.org repository, in order to avoid a breakage when using the 3.16 backports kernel for wheezy. Since the breakage is in Ubuntu, I don't know how to fix this. I'm also wondering why Ubuntu 14.04 only has console-setup 1.70. Even Debian wheezy (released in may 2013) has version 1.88. Maybe you can fix this by setting the initramfs-tools package on hold. Ah, understood. Thank you for the explanation! Cheers, Robert
Re: FAI initramfs-tools breaks console-setup
Am 13.11.2014 um 10:11 schrieb Thomas Lange: > > Hello, > > have there been changes to initramfs-tools in the FAI wheezy > > repositories lately? > Yes. I put a newer version into the fai-project.org > repository. because we hab problems when using the 3.16 bpo kernel. > > > > Btw, is the FAI repository required for building the NFSroot (running > > fai-setup and/or fai-nfsroot) > You should use the FAI repository, so that you will get FAI 4.2.5 on > your install server (when running Debian wheezy). > You can remove this once you have installed the FAI packages. > > > When builing the nfsroot /etc/fai/apt./sources.list > ^^^ > is used. There you should include the FAI repository (for getting the > newer FAI packages). For anyone else having this problem in Ubuntu, the following should work: Create this file in your FAI configspace: scripts/UBUNTU/05-initramfs and paste the following lines: error=0 ; trap "error=$((error|1))" ERR # Apt-Pinning for initramfs-tools fcopy -v /etc/apt/preferences.d/initramfs.pref # Remove the FAI apt source $ROOTCMD rm /etc/apt/sources.list.d/fai.list # Refresh the sources $ROOTCMD apt-get update # Downgrade to initramfs-tools from the Ubuntu repository echo "* Downgrade initramfs-tools" $ROOTCMD apt-get -y --force-yes install initramfs-tools # Install all packages that have been removed # by the FAI-specific initramfs-tools package # e.g. console-setup echo "* Install ubuntu-minimal" $ROOTCMD apt-get -y install ubuntu-minimal # Print the version of the now installed initramfs-tools (optional) echo "* Version of initramfs-tools:" $ROOTCMD dpkg -s initramfs-tools exit $error Provided that the FAI sources.list is in /etc/apt/sources.list.d/fai.list and you use a class called 'UBUNTU'. Your /etc/apt/preferences.d/initramfs.pref may look like this: Package: initramfs-tools Pin: origin Ubuntu Pin-Priority: 1000 Package: initramfs-tools Pin: origin fai-project.org Pin-Priority: -1 Cheers, Robert