commit db2b12f removed the rd.neednet argument and uses /tmp/net.ifaces
instead. This means we don't need to mess with CMDLINE.
---
modules.d/90livenet/parse-livenet.sh | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules.d/90livenet/parse-livenet.sh
b/modules.d/90livenet/parse-livenet.sh
index 365eca1..0e61870 100755
--- a/modules.d/90livenet/parse-livenet.sh
+++ b/modules.d/90livenet/parse-livenet.sh
@@ -9,10 +9,7 @@
updates=$(getarg live.updates=)
if [ -n "$updates" ]; then
# make sure network comes up even if we're doing a local live device
- if [ -z "$netroot" ]; then
- echo > /tmp/net.ifaces
- unset CMDLINE
- fi
+ [ -z "$netroot" ] && >> /tmp/net.ifaces
echo "$updates" > /tmp/liveupdates.info
echo '[ -e /tmp/liveupdates.done ]' > \
$hookdir/initqueue/finished/liveupdates.sh
--
1.7.11.4
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html