summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2020-03-30 10:06:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-31 13:58:01 +0100
commit05cb3a2f58a89b90bf69f8f7bfef461f3c647fd2 (patch)
tree6c608d195e5801e333422669f205bce5f4b4ac72 /meta
parent7bb0e4efd3c32240afa7c5fdb1656a75e37099ab (diff)
downloadpoky-05cb3a2f58a89b90bf69f8f7bfef461f3c647fd2.tar.gz
Revert "ifupdown: create file interfaces if not exist"
This reverts commit 4e692daf66d2c9d51d418706e20f4527505dc0bd. The patch did not take into consideration of read-only rootfs, causing the following regression. ERROR "The following packages could not be configured offline and rootfs is read-only: ['100-ifupdown']" The original patch was added to resolve problem running `ifup eth1' on a systemd based rootfs. However, when using systemd, we do not use ifup to manage our network interfaces. (From OE-Core rev: d687794d98f5956a205c049658f2a0f3c5bc0a3f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/ifupdown/ifupdown_0.8.35.bb7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb
index a8913e6e29..53cb971d33 100644
--- a/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb
+++ b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb
@@ -48,13 +48,6 @@ do_install_ptest () {
48 cp -r ${S}/tests/linux ${D}${PTEST_PATH}/tests/ 48 cp -r ${S}/tests/linux ${D}${PTEST_PATH}/tests/
49} 49}
50 50
51pkg_postinst_ontarget_${PN} () {
52 if [ ! -f /etc/network/interfaces ]; then
53 mkdir -p /etc/network
54 touch /etc/network/interfaces
55 fi
56}
57
58ALTERNATIVE_PRIORITY = "100" 51ALTERNATIVE_PRIORITY = "100"
59ALTERNATIVE_${PN} = "ifup ifdown" 52ALTERNATIVE_${PN} = "ifup ifdown"
60 53