Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3 v3] skeleton: move ifupdown script to their own package
@ 2017-07-02 14:35 Yann E. MORIN
  2017-07-02 14:35 ` [Buildroot] [PATCH 1/3 v3] package/ifupdown-scripts: new package Yann E. MORIN
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Yann E. MORIN @ 2017-07-02 14:35 UTC (permalink / raw)
  To: buildroot

Hello All!

The ifupdown scripts are currently provided by the skeleton, and they
are used by varioue network 'managers', like the standalone ifupdown,
the one in Busybox, or by systemd (without networkd).

But when we have a skeleton specific to systemd, we'd still need to have
those scripts.

Rather than duplicate or play special tricks, we first move them to
their own package.

Then we make sure we do not install them with systemd-networkd, as they
are useless in that case.

Finally, those scripts can now even be used by a custom skeleton.

Changes v2 -> v3:
  - don't select the new package at all, but default it to 'y' for the
    default skeleton, so as to really keep the current behaviour
    (Arnout)
  - split the patch in three  (Arnout)


Regards,
Yann E. MORIN.


The following changes since commit 824f3d9bebee5008ed4f21ab9857778b7d200802

  support/scripts: check-host-rpath now handles $ORIGIN as well (2017-07-02 15:49:25 +0200)


are available in the git repository at:

  git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to 7af4e1b5c5c358fd2a41e609ea250138a5565c18

  package/ifupdown-scripts: allow use with a custom skeleton (2017-07-02 16:14:08 +0200)


----------------------------------------------------------------
Yann E. MORIN (3):
      package/ifupdown-scripts: new package
      package/ifupdown-scripts: not needed for systemd-networkd
      package/ifupdown-scripts: allow use with a custom skeleton

 package/Config.in                                  |  1 +
 package/ifupdown-scripts/Config.in                 |  7 +++
 .../init.d => ifupdown-scripts}/S40network         |  0
 package/ifupdown-scripts/ifupdown-scripts.mk       | 57 ++++++++++++++++++++++
 .../{systemd => ifupdown-scripts}/network.service  |  0
 .../ifupdown-scripts}/network/if-down.d/.empty     |  0
 .../network/if-post-down.d/.empty                  |  0
 .../network/if-pre-up.d/wait_iface                 |  0
 .../ifupdown-scripts}/network/if-up.d/.empty       |  0
 package/{skeleton => ifupdown-scripts}/nfs_check   |  0
 package/skeleton/skeleton.mk                       | 33 -------------
 package/systemd/systemd.mk                         |  8 ---
 12 files changed, 65 insertions(+), 41 deletions(-)
 create mode 100644 package/ifupdown-scripts/Config.in
 rename package/{initscripts/init.d => ifupdown-scripts}/S40network (100%)
 create mode 100644 package/ifupdown-scripts/ifupdown-scripts.mk
 rename package/{systemd => ifupdown-scripts}/network.service (100%)
 rename {system/skeleton/etc => package/ifupdown-scripts}/network/if-down.d/.empty (100%)
 rename {system/skeleton/etc => package/ifupdown-scripts}/network/if-post-down.d/.empty (100%)
 rename {system/skeleton/etc => package/ifupdown-scripts}/network/if-pre-up.d/wait_iface (100%)
 rename {system/skeleton/etc => package/ifupdown-scripts}/network/if-up.d/.empty (100%)
 rename package/{skeleton => ifupdown-scripts}/nfs_check (100%)

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

end of thread, other threads:[~2017-07-04 21:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-02 14:35 [Buildroot] [PATCH 0/3 v3] skeleton: move ifupdown script to their own package Yann E. MORIN
2017-07-02 14:35 ` [Buildroot] [PATCH 1/3 v3] package/ifupdown-scripts: new package Yann E. MORIN
2017-07-02 16:04   ` Arnout Vandecappelle
2017-07-02 16:05     ` Arnout Vandecappelle
2017-07-03  9:38   ` Yann E. MORIN
2017-07-02 14:35 ` [Buildroot] [PATCH 2/3 v3] package/ifupdown-scripts: not needed for systemd-networkd Yann E. MORIN
2017-07-02 16:06   ` Arnout Vandecappelle
2017-07-02 14:35 ` [Buildroot] [PATCH 3/3 v3] package/ifupdown-scripts: allow use with a custom skeleton Yann E. MORIN
2017-07-02 16:08   ` Arnout Vandecappelle
2017-07-02 16:37     ` Yann E. MORIN
2017-07-04 21:49 ` [Buildroot] [PATCH 0/3 v3] skeleton: move ifupdown script to their own package Thomas Petazzoni
2017-07-04 21:56   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox