Bug#405572: PowerPC, prep flavor: missing root= boot option after install
Hi,
>On Saturday 06 January 2007 12:32, Ulrich Teichert wrote:
>> > Can you test if creating a file /etc/initramfs-tools/conf.d/prep-root
>> > with such a line works too? If it does, then that is much to be
>> > preferred.
>>
>> I just checked out the d-i trunk, I'll see what I can do.
>
>You don't really need to build a new package for this. You can also just
>create the file manually from a shell after the base system installation
>is done.
OK, will do.
>I think the attached patch will do the job as the final solution. It is a
>bit heavier than strictly needed because of some backwards compatibility
>support (that needs to be cleaned up after Etch).
>
>If you'd like to quickly test the principle after using the installer,
>try manually adding (using nano) the following (simplified) code in:
>/var/lib/dpkg/info/base-installer.postinst
>It should be added just after the resume partition is configured.
>
>@@ -767,6 +767,14 @@
> echo "RESUME=$resume" >> $resumeconf
> fi
> fi
>+
>+ # Set PReP boot partition
>+ if [ "$SUBARCH" = prep ] && [ "$rd_generator" = initramfs-tools ]; then
>+ prepconf=/target/etc/initramfs-tools/conf.d/prep-boot
---------------------------------------------------------------------^^^^^^^^^
I think that you wanted to type prep-root here and that's just a typo, right?
The same typo is in the proposed-production patch,
HTH,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
Stormweg 24 |listening to: Cauchemar (Opération S), Pay The Cobra
24539 Neumuenster, Germany|(The Bellrays), She's Got Standards (The Rifles)
Reply to: