[make-initrd] [PATCH v1 00/41] fork pipeline

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:52:40 MSK 2021


Привет!


На первой итерации, чтобы не флудить, сделал поменьше коммитов. Всё 
равно вспомнить "что за чем менялось" уже невозможно. На следующих 
итерациях постараюсь сделать это более понятным. Поэтому первые три 
коммита позволяют понять порядок перемещения, переименования и что 
создано нового. Заранее извиняюсь за порядок и оформление коммитов, 
готов исправиться.


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




More information about the Make-initrd mailing list