From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] [PATCH v1 00/41] fork pipeline
Date: Fri, 24 Sep 2021 21:08:22 +0200
Message-ID: <20210924190822.hkqkjmcsj3u3zazv@example.org> (raw)
In-Reply-To: <a9409f0a-207c-baa2-e6e8-8dbb850d5f87@gmail.com>
On Fri, Sep 24, 2021 at 06:52:40PM +0300, Leonid Krivoshein wrote:
> Привет!
>
>
> На первой итерации, чтобы не флудить, сделал поменьше коммитов. Всё равно
> вспомнить "что за чем менялось" уже невозможно. На следующих итерациях
> постараюсь сделать это более понятным. Поэтому первые три коммита позволяют
> понять порядок перемещения, переименования и что создано нового. Заранее
> извиняюсь за порядок и оформление коммитов, готов исправиться.
Я начал читать, но так как кода очень много не успею за один день всё
осилить. Я буду ещё комментировать.
>
> Leonid Krivoshein (41):
> fork pipeline: split into 4 features (move files)
> fork pipeline: 11 files and directories renamed
> fork pipeline: 10 new files added
> fork pipeline: getimage cmdline parameter moved
> fork pipeline: waitdev cmdline parameter moved
> fork pipeline: bootchained is a 100% copy of pipelined
> fork pipeline: bootchain-core cmdline parameters added
> fork pipeline: getimage step modified
> fork pipeline: bootchain-waitdev cmdline parameter added
> fork pipeline: initrd boot method changed to bootchain
> fork pipeline: mountfs step modified
> fork pipeline: overlayfs step modified
> fork pipeline: rootfs step modified
> fork pipeline: waitdev: config.mk and rules.mk modified
> fork pipeline: waitdev: uevent filter renamed
> fork pipeline: waitdev: get_dev_wpfx() function added
> fork pipeline: waitdev step modified
> fork pipeline: waitdev: infinite loop fixed, DEVNAME added
> fork pipeline: waitdev: use optional waitdev_timeout
> fork pipeline: bootchain now is dependency for pipeline
> fork pipeline: bootchain sysvinit script now use external hooks
> fork pipeline: README.md for bootchain-core added
> fork pipeline: daemon splitted into first and second halfs
> bootchained: startup message
> fork pipeline: bootchained modified
> fork pipeline: bootchain-sh-functions: whitespaces
> fork pipeline: bootchain-sh-functions modified
> fork pipeline: bootchain-sh-functions: check_parameter modified
> fork pipeline: bootchain-sh-functions: resolve_target modified
> fork pipeline: bootchain-sh-functions: API extended
> fork pipeline: bootchain-loop: pipenum to stepnum renamed
> fork pipeline: bootchain-loop: pipe to chainsteps renamed
> fork pipeline: bootchain-loop: primary changes
> fork pipeline: bootchain-loop: cleanup, testing and debugging
> fork pipeline: bootchain-loop: added switch to foreground
> fork pipeline: bootchain-loop: added 'noop' to separate the steps
> fork pipeline: bootchain-loop: added switch retry/noretry
> added symlinks for compatibility with pipeline
> workaround: use PUT_FILES= instead PUT_UDEV_RULES=
> to use has_feture() require initrd-sh-functions
> 2.24.1-alt1
>
> make-initrd.spec | 5 +-
> make-initrd/features/bootchain-core/README.md | 3 +
> make-initrd/features/bootchain-core/config.mk | 5 +
> .../data/bin/bootchain-sh-functions | 187 ++++++++++++++++++
> .../bootchain-core/data/bin/machine-info | 123 ++++++++++++
> .../data/etc/initrd/cmdline.d/bootchain-core | 6 +
> .../data/etc/rc.d/init.d/bootchain} | 33 ++--
> .../bootchain-core/data/lib/bootchain/debug | 84 ++++++++
> .../data/lib/bootchain}/mountfs | 4 +-
> .../data/lib/bootchain/overlayfs | 27 +++
> .../bootchain-core/data/lib/bootchain/rootfs | 11 ++
> .../data/lib/initrd/cmdline.d/bootchain | 6 +
> .../data/lib/initrd/cmdline.d/pipeline | 2 +-
> .../features/bootchain-core/data/lib/pipeline | 1 +
> .../bootchain-core/data/sbin/bootchain-logvt | 36 ++++
> .../bootchain-core/data/sbin/bootchain-loop | 183 +++++++++++++++++
> .../bootchain-core/data/sbin/bootchained | 55 ++++++
> .../data/sbin/pipeline-sh-functions | 1 +
> make-initrd/features/bootchain-core/rules.mk | 3 +
> .../features/bootchain-getimage/README.md | 20 ++
> .../features/bootchain-getimage/config.mk | 5 +
> .../etc/initrd/cmdline.d/bootchain-getimage | 1 +
> .../data/lib/bootchain}/getimage | 9 +-
> .../features/bootchain-getimage/rules.mk | 2 +
> .../features/bootchain-waitdev/README.md | 21 ++
> .../features/bootchain-waitdev/config.mk | 6 +
> .../etc/initrd/cmdline.d/bootchain-waitdev | 2 +
> .../udev/rules.d/50-bootchain-waitdev.rules} | 2 +-
> .../data/lib/bootchain-prepare.d/300-waitdev | 12 ++
> .../data/lib/bootchain/waitdev | 46 +++++
> .../data/lib/uevent/filters/bootchain-waitdev | 35 ++++
> .../features/bootchain-waitdev/rules.mk | 2 +
> make-initrd/features/pipeline/config.mk | 9 +-
> .../data/etc/initrd/cmdline.d/pipeline | 5 -
> .../pipeline/data/lib/pipeline/overlayfs | 26 ---
> .../pipeline/data/lib/pipeline/rootfs | 10 -
> .../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 --------
> make-initrd/features/pipeline/rules.mk | 6 -
> 41 files changed, 914 insertions(+), 260 deletions(-)
> create mode 100644 make-initrd/features/bootchain-core/README.md
> create mode 100644 make-initrd/features/bootchain-core/config.mk
> create mode 100644
> make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
> create mode 100755
> make-initrd/features/bootchain-core/data/bin/machine-info
> create mode 100644
> make-initrd/features/bootchain-core/data/etc/initrd/cmdline.d/bootchain-core
> rename make-initrd/features/{pipeline/data/etc/rc.d/init.d/pipeline =>
> bootchain-core/data/etc/rc.d/init.d/bootchain} (59%)
> create mode 100755
> make-initrd/features/bootchain-core/data/lib/bootchain/debug
> rename make-initrd/features/{pipeline/data/lib/pipeline =>
> bootchain-core/data/lib/bootchain}/mountfs (75%)
> create mode 100755
> make-initrd/features/bootchain-core/data/lib/bootchain/overlayfs
> create mode 100755
> make-initrd/features/bootchain-core/data/lib/bootchain/rootfs
> create mode 100755
> make-initrd/features/bootchain-core/data/lib/initrd/cmdline.d/bootchain
> rename make-initrd/features/{pipeline =>
> bootchain-core}/data/lib/initrd/cmdline.d/pipeline (64%)
> create mode 120000 make-initrd/features/bootchain-core/data/lib/pipeline
> create mode 100755
> make-initrd/features/bootchain-core/data/sbin/bootchain-logvt
> create mode 100755
> make-initrd/features/bootchain-core/data/sbin/bootchain-loop
> create mode 100755
> make-initrd/features/bootchain-core/data/sbin/bootchained
> create mode 120000
> make-initrd/features/bootchain-core/data/sbin/pipeline-sh-functions
> create mode 100644 make-initrd/features/bootchain-core/rules.mk
> create mode 100644 make-initrd/features/bootchain-getimage/README.md
> create mode 100644 make-initrd/features/bootchain-getimage/config.mk
> create mode 100644 make-initrd/features/bootchain-getimage/data/etc/initrd/cmdline.d/bootchain-getimage
> rename make-initrd/features/{pipeline/data/lib/pipeline =>
> bootchain-getimage/data/lib/bootchain}/getimage (57%)
> create mode 100644 make-initrd/features/bootchain-getimage/rules.mk
> create mode 100644 make-initrd/features/bootchain-waitdev/README.md
> create mode 100644 make-initrd/features/bootchain-waitdev/config.mk
> create mode 100644 make-initrd/features/bootchain-waitdev/data/etc/initrd/cmdline.d/bootchain-waitdev
> rename make-initrd/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 100644 make-initrd/features/bootchain-waitdev/data/lib/bootchain-prepare.d/300-waitdev
> create mode 100755
> make-initrd/features/bootchain-waitdev/data/lib/bootchain/waitdev
> create mode 100755 make-initrd/features/bootchain-waitdev/data/lib/uevent/filters/bootchain-waitdev
> create mode 100644 make-initrd/features/bootchain-waitdev/rules.mk
> delete mode 100644
> make-initrd/features/pipeline/data/etc/initrd/cmdline.d/pipeline
> delete mode 100755
> make-initrd/features/pipeline/data/lib/pipeline/overlayfs
> delete mode 100755 make-initrd/features/pipeline/data/lib/pipeline/rootfs
> delete mode 100755 make-initrd/features/pipeline/data/lib/pipeline/waitdev
> delete mode 100755
> make-initrd/features/pipeline/data/lib/uevent/filters/pipeline-waitdev
> delete mode 100644
> make-initrd/features/pipeline/data/sbin/pipeline-sh-functions
> delete mode 100755 make-initrd/features/pipeline/data/sbin/pipelined
>
> --
> 2.21.0
>
>
> _______________________________________________
> Make-initrd mailing list
> Make-initrd@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/make-initrd
--
Rgrds, legion
next prev parent reply other threads:[~2021-09-24 19:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 15:52 Leonid Krivoshein
2021-09-24 16:56 ` Alexey Gladkov
2021-09-24 18:42 ` Leonid Krivoshein
2021-09-24 19:06 ` Alexey Gladkov
2021-09-26 18:56 ` Leonid Krivoshein
2021-09-27 9:15 ` Alexey Gladkov
2021-09-27 13:17 ` Leonid Krivoshein
2021-09-27 13:55 ` Alexey Gladkov
2021-10-13 17:06 ` Leonid Krivoshein
2021-10-13 18:38 ` Alexey Gladkov
2021-10-13 18:48 ` Leonid Krivoshein
2021-09-24 19:08 ` Alexey Gladkov [this message]
2021-09-24 21:59 ` Leonid Krivoshein
2021-09-26 14:29 ` Alexey Gladkov
2021-09-26 20:09 ` Leonid Krivoshein
2021-09-27 9:23 ` Alexey Gladkov
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=20210924190822.hkqkjmcsj3u3zazv@example.org \
--to=gladkov.alexey@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