Make-initrd development discussion
 help / color / mirror / Atom feed
* [make-initrd] Release make-initrd 2.46.0
@ 2024-05-23 11:02 Alexey Gladkov
  2024-05-23 13:11 ` Alexey Gladkov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Gladkov @ 2024-05-23 11:02 UTC (permalink / raw)
  To: make-initrd

New release 2.46.0 is available.

# Important changes

- Runtime:
  + Fix output in quiet=1 mode.
  + Fix output in rdlog=console mode.
  + Do not show the error that it is impossible to set the log level.
  + Allow setting specific array elements in cmdline if the option
    assumes an array.
- Feature plymouth:
  + Fix plymouth showing when drm is not ready yet.
- Feature pipeline:
  + mountfs: Add an optional parameter mountfs-opts= to specify mount
    options.

# Git repository

https://github.com/osboot/make-initrd.git

Feedback and bug reports, as always, are welcomed.

-- 
Rgrds, legion



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

* Re: [make-initrd] Release make-initrd 2.46.0
  2024-05-23 11:02 [make-initrd] Release make-initrd 2.46.0 Alexey Gladkov
@ 2024-05-23 13:11 ` Alexey Gladkov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2024-05-23 13:11 UTC (permalink / raw)
  To: make-initrd

On Thu, May 23, 2024 at 01:02:16PM +0200, Alexey Gladkov wrote:
> New release 2.46.0 is available.
> 
> # Important changes
> 
>   + Allow setting specific array elements in cmdline if the option
>     assumes an array.

Я хотел бы обратить внимание на вот это изменение. Это может быть полезно
и в инсталляторе.

Если параметр mountfs определён как массив и если в cmdline указать
значения:

  mountfs=aaa mountfs=bbb mountfs=ccc

то в initrd в шелле будут создан массив:

  MOUNTFS0=aaa
  MOUNTFS1=bbb
  MOUNTFS2=ccc
  MOUNTFS=3

так реализованы массивы в initrd.

Если же нужно указать только третий элемент, то сейчас нужно делать нечто
вроде такого:

  mountfs= mountfs= mountfs=ccc

Это конечно рабочий вариант, но выглядит коряво. Теперь же можно указать
конкретный элемент:

  mountfs[2]=ccc

и в этом случае получится вот такой массив:

  MOUNTFS0=
  MOUNTFS1=
  MOUNTFS2=ccc
  MOUNTFS=3

Примером, где это полезно, может быть указание опций для шага mountfs в
фиче pipeline. Если нужно монтировать несколько образов, а указать
параметры монтирования только для последнего шага, то нет нужды "занулять"
все первые элементы.

-- 
Rgrds, legion



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

end of thread, other threads:[~2024-05-23 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-23 11:02 [make-initrd] Release make-initrd 2.46.0 Alexey Gladkov
2024-05-23 13:11 ` Alexey Gladkov

Make-initrd development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
		make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
	public-inbox-index make-initrd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.make-initrd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git