[make-initrd] [PATCH v6 00/22] split pipeline into 4 features + interactive
Leonid Krivoshein
klark.devel at gmail.com
Sun Oct 24 20:17:26 MSK 2021
Алексей, привет!
Наконец, всё получилось. Проверочное задание #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
More information about the Make-initrd
mailing list