Make-initrd development discussion
 help / color / mirror / Atom feed
From: "Leonid Krivoshein" <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: [make-initrd] [PATCH v6 00/22] split pipeline into 4 features + interactive
Date: Sun, 24 Oct 2021 17:17:26 -0000
Message-ID: <20211024171726.Zk9fOD4BdnP2RhiVWXq2vvzwpRiaUQu5krTJLudU6hg@z> (raw)

Алексей, привет!


Наконец, всё получилось. Проверочное задание #288096.

Патчи 6, 7, 8, с одной стороны, необязательны, с другой -- желательны.
getimage и waitdev не используются в загрузочной цепочке altboot, но
это "мостик между прошлым и будущим". Шаги waitdev можно пристраивать
слева от шагов altboot (localdev) только с этими изменениями и получать
в таком случае "нечто необычное".

Патч 18 -- ещё одна фича, вклинившаяся в процессе форка. Можно её сразу
заапстримить, можно отложить, тут как сам посчитаешь правильным. После
этого останется altboot со всеми своими методами загрузки, по одному
коммиту на фичу.


Leonid Krivoshein (22):
  separate new feature of bootchain-core from pipeline
  kickstart: fix feature to work with bootchain-core
  bootchain-core: move bootchain-sh-function to /bin
  bootchain: separate getimage and waitdev features
  bootchain-core, bootchain-waitdev: whitespace
  bootchain-waitdev: improving the logic of the step
  bootchain-waitdev: added optional prefix CDROM: to device spec
  bootchain-waitdev: introduces an optional waitdev_timeout
  bootchain-core: use private variable name
  bootchain-core: expanded addressing capabilities
  bootchain-core: introduces optional configuration capabilities
  bootchain-core: introduces extended debugging
  bootchain-core: introduces new parameter bc_test
  bootchain-core: extends bootchain-sh-functions API
  bootchain-core: introduces the built-in "noop" pseudo-step
  bootchain-core: new logic of the daemon main loop
  bootchain-core: few minor improvements to the rootfs step
  bootchain-interactive: initial feature
  bootchain-core: introduces additional terminal for show boot log
  bootchain-core: whitespace
  bootchain-core: adds ability to bring the daemon to the foreground
  bootchain-core: adds ability for log to the early console

 features/bootchain-core/README.md             | 273 ++++++++++++++++++
 features/bootchain-core/config.mk             |   5 +
 .../data/bin/bootchain-sh-functions           | 230 +++++++++++++++
 .../data/etc/initrd/cmdline.d/bootchain-core  |   6 +
 .../data/etc/rc.d/init.d/bootchain}           |  22 +-
 .../bootchain-core/data/lib/bootchain/debug   |  81 ++++++
 .../data/lib/bootchain}/mountfs               |   2 +-
 .../data/lib/bootchain}/overlayfs             |   2 +-
 .../bootchain-core/data/lib/bootchain/rootfs  |  11 +
 .../data/lib/initrd/cmdline.d/bootchain       |   6 +
 .../data/lib/initrd/cmdline.d/pipeline        |   2 +-
 .../bootchain-core/data/sbin/bootchain-logvt  |  36 +++
 features/bootchain-core/data/sbin/chaind      | 234 +++++++++++++++
 features/bootchain-core/rules.mk              |   3 +
 features/bootchain-getimage/README.md         |  24 ++
 features/bootchain-getimage/config.mk         |   5 +
 .../etc/initrd/cmdline.d/bootchain-getimage   |   1 +
 .../data/lib/bootchain}/getimage              |   2 +-
 features/bootchain-getimage/rules.mk          |   2 +
 features/bootchain-interactive/README.md      | 184 ++++++++++++
 features/bootchain-interactive/config.mk      |   5 +
 .../data/bin/activate-interactive-vt          |  27 ++
 .../data/bin/interactive-sh-functions         | 247 ++++++++++++++++
 .../initrd/cmdline.d/bootchain-interactive    |   3 +
 .../data/lib/IM-widgets/choice                |  60 ++++
 .../data/lib/IM-widgets/dlgmsg                |  25 ++
 .../data/lib/IM-widgets/errmsg                |  29 ++
 .../data/lib/IM-widgets/form                  |  70 +++++
 .../data/lib/IM-widgets/gauge                 |  31 ++
 .../data/lib/IM-widgets/ponder                |  67 +++++
 features/bootchain-interactive/rules.mk       |   2 +
 features/bootchain-waitdev/README.md          |  26 ++
 features/bootchain-waitdev/config.mk          |   6 +
 .../etc/initrd/cmdline.d/bootchain-waitdev    |   2 +
 .../udev/rules.d/50-bootchain-waitdev.rules}  |   2 +-
 .../data/lib/bootchain/waitdev                |  46 +++
 .../data/lib/initrd/pre/bootchain/300-waitdev |  15 +
 .../data/lib/uevent/filters/bootchain-waitdev |  35 +++
 features/bootchain-waitdev/rules.mk           |   2 +
 .../lib/{pipeline => bootchain}/kickstart     |   2 +-
 features/pipeline/config.mk                   |   9 +-
 .../data/etc/initrd/cmdline.d/pipeline        |   5 -
 features/pipeline/data/lib/pipeline/rootfs    |  10 -
 features/pipeline/data/lib/pipeline/waitdev   |  24 --
 .../data/lib/uevent/filters/pipeline-waitdev  |  18 --
 .../pipeline/data/sbin/pipeline-sh-functions  |  51 ----
 features/pipeline/data/sbin/pipelined         |  87 ------
 features/pipeline/rules.mk                    |   6 -
 48 files changed, 1810 insertions(+), 233 deletions(-)
 create mode 100644 features/bootchain-core/README.md
 create mode 100644 features/bootchain-core/config.mk
 create mode 100644 features/bootchain-core/data/bin/bootchain-sh-functions
 create mode 100644 features/bootchain-core/data/etc/initrd/cmdline.d/bootchain-core
 rename features/{pipeline/data/etc/rc.d/init.d/pipeline => bootchain-core/data/etc/rc.d/init.d/bootchain} (63%)
 create mode 100755 features/bootchain-core/data/lib/bootchain/debug
 rename features/{pipeline/data/lib/pipeline => bootchain-core/data/lib/bootchain}/mountfs (91%)
 rename features/{pipeline/data/lib/pipeline => bootchain-core/data/lib/bootchain}/overlayfs (95%)
 create mode 100755 features/bootchain-core/data/lib/bootchain/rootfs
 create mode 100755 features/bootchain-core/data/lib/initrd/cmdline.d/bootchain
 rename features/{pipeline => bootchain-core}/data/lib/initrd/cmdline.d/pipeline (64%)
 create mode 100755 features/bootchain-core/data/sbin/bootchain-logvt
 create mode 100755 features/bootchain-core/data/sbin/chaind
 create mode 100644 features/bootchain-core/rules.mk
 create mode 100644 features/bootchain-getimage/README.md
 create mode 100644 features/bootchain-getimage/config.mk
 create mode 100644 features/bootchain-getimage/data/etc/initrd/cmdline.d/bootchain-getimage
 rename features/{pipeline/data/lib/pipeline => bootchain-getimage/data/lib/bootchain}/getimage (93%)
 create mode 100644 features/bootchain-getimage/rules.mk
 create mode 100644 features/bootchain-interactive/README.md
 create mode 100644 features/bootchain-interactive/config.mk
 create mode 100755 features/bootchain-interactive/data/bin/activate-interactive-vt
 create mode 100644 features/bootchain-interactive/data/bin/interactive-sh-functions
 create mode 100644 features/bootchain-interactive/data/etc/initrd/cmdline.d/bootchain-interactive
 create mode 100644 features/bootchain-interactive/data/lib/IM-widgets/choice
 create mode 100644 features/bootchain-interactive/data/lib/IM-widgets/dlgmsg
 create mode 100644 features/bootchain-interactive/data/lib/IM-widgets/errmsg
 create mode 100644 features/bootchain-interactive/data/lib/IM-widgets/form
 create mode 100644 features/bootchain-interactive/data/lib/IM-widgets/gauge
 create mode 100644 features/bootchain-interactive/data/lib/IM-widgets/ponder
 create mode 100644 features/bootchain-interactive/rules.mk
 create mode 100644 features/bootchain-waitdev/README.md
 create mode 100644 features/bootchain-waitdev/config.mk
 create mode 100644 features/bootchain-waitdev/data/etc/initrd/cmdline.d/bootchain-waitdev
 rename features/{pipeline/data/etc/udev/rules.d/50-pipeline-waitdev.rules => bootchain-waitdev/data/etc/udev/rules.d/50-bootchain-waitdev.rules} (77%)
 create mode 100755 features/bootchain-waitdev/data/lib/bootchain/waitdev
 create mode 100755 features/bootchain-waitdev/data/lib/initrd/pre/bootchain/300-waitdev
 create mode 100755 features/bootchain-waitdev/data/lib/uevent/filters/bootchain-waitdev
 create mode 100644 features/bootchain-waitdev/rules.mk
 rename features/kickstart/data/lib/{pipeline => bootchain}/kickstart (93%)
 delete mode 100644 features/pipeline/data/etc/initrd/cmdline.d/pipeline
 delete mode 100755 features/pipeline/data/lib/pipeline/rootfs
 delete mode 100755 features/pipeline/data/lib/pipeline/waitdev
 delete mode 100755 features/pipeline/data/lib/uevent/filters/pipeline-waitdev
 delete mode 100644 features/pipeline/data/sbin/pipeline-sh-functions
 delete mode 100755 features/pipeline/data/sbin/pipelined

-- 
2.24.1



                 reply	other threads:[~2021-10-24 17:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211024171726.Zk9fOD4BdnP2RhiVWXq2vvzwpRiaUQu5krTJLudU6hg@z \
    --to=klark.devel@gmail.com \
    --cc=make-initrd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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