Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#591025: Remove the irrelevent BOOT in initramfs.conf - patch available (http://www.linux-archive.org/debian-kernel/406560-bug-591025-remove-irrelevent-boot-initramfs-conf-patch-available.html)

07-31-2010 04:51 AM

Bug#591025: Remove the irrelevent BOOT in initramfs.conf - patch available
 
Package: initramfs-tools
Version: 0.97.2

The BOOT switch should not be set in the initramfs.conf.
It should be determined in boot time by the boot commandline, by
either explicitly a "boot=foo" or implicitly such as "root=/root/nfs".

I suggest that the BOOT directive in initramfs.conf be deprecated.

The attachment is a simple patch to achieve this.

maximilian attems 08-01-2010 07:06 AM

Bug#591025: Remove the irrelevent BOOT in initramfs.conf - patch available
 
On Fri, 30 Jul 2010, wolfle@yahoo.com wrote:

> Package: initramfs-tools
> Version: 0.97.2
>
> The BOOT switch should not be set in the initramfs.conf.

why do you come to that conclusion?
it is used by live-initramfs afair.

> It should be determined in boot time by the boot commandline, by
> either explicitly a "boot=foo" or implicitly such as "root=/root/nfs".
>
> I suggest that the BOOT directive in initramfs.conf be deprecated.
>

you don't give any rationale, so will close unless this gets motivated
properly and it be clear why we want that and what gain that would be.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100801070611.GA30030@stro.at">http://lists.debian.org/20100801070611.GA30030@stro.at

08-03-2010 01:42 AM

Bug#591025: Remove the irrelevent BOOT in initramfs.conf - patch available
 
This is why I come to this:
I wanted to build up an initramfs for boot from nfs/aoe/iscsi, but not determined from which of the three in time of making the initramfs. I found it's impossible with a BOOT set in the initramfs.conf. After looking at the scripts, I came to the thought that BOOT should not be set in the *initramfs.conf.
I have not used a Debian live, so don't know the live-initramfs affair. What I know is about Ubuntu live CD, in which it set "BOOT=casper" in boot commandline from the syslinux configure file. If there are some live-initramfs prefer to set BOOT in initramfs.conf rather than to set in syslinux configure file, I suggest that the BOOT directive in initramfs be optional: it should not be a choice from "local | nfs" but an
optional one for the live-initramfs.
From: maximilian attems <max@stro.at>
To: wolfle@yahoo.com; 591025@bugs.debian.org
Sent: Sun, August 1, 2010 3:06:11 PM
Subject: Re: Bug#591025: Remove the irrelevent BOOT in initramfs.conf - patch available


On Fri, 30 Jul 2010, wolfle@yahoo.com wrote:

> Package: initramfs-tools
> Version: 0.97.2
>
> The BOOT switch should not be set in the initramfs.conf.

why do you come to that conclusion?
it is used by live-initramfs afair.

> It should be determined in boot time by the boot commandline, by
> either explicitly a "boot=foo" or implicitly such as "root=/root/nfs".
>
> I suggest that the BOOT directive in initramfs.conf be deprecated.
>

you don't give any rationale, so will close unless this gets motivated
properly and it be clear why we want that and what gain that would be.


All times are GMT. The time now is 05:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.