Bug#334333: fai-cd installs systems lacking a grub bootloader when using simple examples

2005-10-18 Thread Thomas Lange
> On Tue, 18 Oct 2005 09:53:57 +0200, Henning Glawe <[EMAIL PROTECTED]> 
> said:

> this is definitely not the right solution for the problem; there could be
> just any reason to have a uninstalled in the package lists (especially, if
> your $FAI for fai-cd and installations/softupdates is the same).

> packages should be only pulled onto the fai-cd if there is any "positive"
> occurrence of a package...


What about this?

[~]> diff fai-2.8.4/scripts/install_packages .
325c325,326
<   unshift @orig, $_;
---
>   # when using -d, remove - suffix so this package will also be downloaded
>   unshift @orig, $_ unless ($opt_d && /-$/);



-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334333: fai-cd installs systems lacking a grub bootloader when using simple examples

2005-10-18 Thread Thomas Lange
> On Tue, 18 Oct 2005 09:53:57 +0200, Henning Glawe <[EMAIL PROTECTED]> 
> said:

> packages should be only pulled onto the fai-cd if there is any "positive"
> occurrence of a package...
Your are right. So I have just to ignore any package name ending with
a minus.


-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334333: fai-cd installs systems lacking a grub bootloader when using simple examples

2005-10-18 Thread Henning Glawe
On Tue, Oct 18, 2005 at 12:15:12AM +0200, Thomas Lange wrote:
> install_packages should bepatched to download-only also package names
> ending with a minus when install_packages is called from fai-mirror. I
> will try to write a patch.

this is definitely not the right solution for the problem; there could be
just any reason to have a uninstalled in the package lists (especially, if
your $FAI for fai-cd and installations/softupdates is the same).

packages should be only pulled onto the fai-cd if there is any "positive"
occurrence of a package...

-- 
c u
henning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334333: fai-cd installs systems lacking a grub bootloader when using simple examples

2005-10-17 Thread Thomas Lange
install_packages should bepatched to download-only also package names
ending with a minus when install_packages is called from fai-mirror. I
will try to write a patch.
-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334333: fai-cd installs systems lacking a grub bootloader when using simple examples

2005-10-17 Thread Henning Sprang
Package: fai
Version: 2.8.4
Severity: important
Tags: patch

When creating a debian mirror for fai-cd with fai-mirror, and at the same time
using the simple examples from FAI's doc directory, as proposed in the FAI
documentation, fai-mirror doesn't download a grub package correctly, and 
therefore
there's no grub available at install time, and the installed system cannot boot.

This can be worked around by removing the lines 

PACKAGES aptitude LILO
lilo grub-

>From the simple examples package_config file for the DEFAULT class. As the 
>class
LILO is not used in the example installations, that should not have an impact on
the usability of FAI and the simpleexamples.

But the "real" problem is probably that fai-mirror can't handle the "grub-"
part of the above mentioned lines which should be deleted correctly - 
even if the class LILO doesnt need and want grub installed, that
doesn't mean that it should not be included in a FAI mirror, because that can be
used to install systems that don't have the LILO class, also.



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fai depends on:
ii  libapt-pkg-perl   0.1.13 Perl interface to libapt-pkg
ii  perl  5.8.4-8Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]