public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] [PATCH] bootloader-setup.sh: remove obsolete cmdline args
@ 2023-03-29 20:14 Ben Kohler
  2023-03-30 12:56 ` Matt Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Kohler @ 2023-03-29 20:14 UTC (permalink / raw
  To: gentoo-catalyst

These haven't been needed since kernel 2.4 days, as far as I know.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
---
 targets/support/bootloader-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
index 065f2bb5..32d86028 100755
--- a/targets/support/bootloader-setup.sh
+++ b/targets/support/bootloader-setup.sh
@@ -53,7 +53,7 @@ memtest_grub() {
   fi
 }
 
-default_append_line=(root=/dev/ram0 init=/linuxrc ${cmdline_opts[@]} cdroot)
+default_append_line=(${cmdline_opts[@]} cdroot)
 
 case ${clst_hostarch} in
 	alpha)
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] [PATCH] bootloader-setup.sh: remove obsolete cmdline args
  2023-03-29 20:14 [gentoo-catalyst] [PATCH] bootloader-setup.sh: remove obsolete cmdline args Ben Kohler
@ 2023-03-30 12:56 ` Matt Turner
  2023-03-30 13:17   ` Ben Kohler
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Turner @ 2023-03-30 12:56 UTC (permalink / raw
  To: gentoo-catalyst

On Wed, Mar 29, 2023 at 4:14 PM Ben Kohler <bkohler@gentoo.org> wrote:
>
> These haven't been needed since kernel 2.4 days, as far as I know.
>
> Signed-off-by: Ben Kohler <bkohler@gentoo.org>
> ---
>  targets/support/bootloader-setup.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
> index 065f2bb5..32d86028 100755
> --- a/targets/support/bootloader-setup.sh
> +++ b/targets/support/bootloader-setup.sh
> @@ -53,7 +53,7 @@ memtest_grub() {
>    fi
>  }
>
> -default_append_line=(root=/dev/ram0 init=/linuxrc ${cmdline_opts[@]} cdroot)
> +default_append_line=(${cmdline_opts[@]} cdroot)
>
>  case ${clst_hostarch} in
>         alpha)
> --
> 2.40.0

Looks like we add 'root=/dev/ram0 init=/linuxrc' a few lines below in
the alpha-specific path as well. I wonder if we should drop it from
there too?

Otherwise, looks good to me.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] [PATCH] bootloader-setup.sh: remove obsolete cmdline args
  2023-03-30 12:56 ` Matt Turner
@ 2023-03-30 13:17   ` Ben Kohler
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Kohler @ 2023-03-30 13:17 UTC (permalink / raw
  To: gentoo-catalyst


On 3/30/23 07:56, Matt Turner wrote:
> Looks like we add 'root=/dev/ram0 init=/linuxrc' a few lines below in
> the alpha-specific path as well. I wonder if we should drop it from
> there too?
>
> Otherwise, looks good to me.

I was a little hesitant to touch those since I don't know anything about 
alpha or netboot specifics.  But as I understand it, root=/dev/ram0 is 
only useful for actual initial *ramdisk* setups, in kernel 2.4 days, so 
surely it can just be removed.

I'll poke the alpha folks to be sure, then remove these as well.

-Ben



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-30 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 20:14 [gentoo-catalyst] [PATCH] bootloader-setup.sh: remove obsolete cmdline args Ben Kohler
2023-03-30 12:56 ` Matt Turner
2023-03-30 13:17   ` Ben Kohler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox