]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/ifupdown-scripts: new package
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 2 Jul 2017 14:35:50 +0000 (16:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 21:38:18 +0000 (23:38 +0200)
commit5fb1b867821b4e8968ca7f364196a5e67e80c436
treeca663804f556dc9058c8146c170d41ecc404f10b
parentcaaff41ec168d4abe083eccebb534c555b816e66
package/ifupdown-scripts: new package

The ifupdown scripts can be used independently of the init system, be it
sysv, busybox or systemd; they could even be used when there is no init
system (i.e. the user is providing his own).

Currently, those ifupdown scripts are bundled in the skeleton.

But we soon will have a skeleton specific to systemd, so we would be
missing those scripts (when systemd-networkd is not enabled).

So, move those scripts to their own package.

To keep the current behaviour (before it is changed in future commits),
we make that package default to y, but depend on the default skeleton.

Instead of being a target-finalize hook, the scripts are installed as
any other package are, with a package install-target command.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: drop empty IFUPDOWN_SCRIPTS_SOURCE]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 files changed:
package/Config.in
package/ifupdown-scripts/Config.in [new file with mode: 0644]
package/ifupdown-scripts/S40network [moved from package/initscripts/init.d/S40network with 100% similarity]
package/ifupdown-scripts/ifupdown-scripts.mk [new file with mode: 0644]
package/ifupdown-scripts/network.service [moved from package/systemd/network.service with 100% similarity]
package/ifupdown-scripts/network/if-down.d/.empty [moved from system/skeleton/etc/network/if-down.d/.empty with 100% similarity]
package/ifupdown-scripts/network/if-post-down.d/.empty [moved from system/skeleton/etc/network/if-post-down.d/.empty with 100% similarity]
package/ifupdown-scripts/network/if-pre-up.d/wait_iface [moved from system/skeleton/etc/network/if-pre-up.d/wait_iface with 100% similarity]
package/ifupdown-scripts/network/if-up.d/.empty [moved from system/skeleton/etc/network/if-up.d/.empty with 100% similarity]
package/ifupdown-scripts/nfs_check [moved from package/skeleton/nfs_check with 100% similarity]
package/skeleton/skeleton.mk
package/systemd/systemd.mk