From 6c12883a35160f183b0db2ad73cc5ccd21d1aefa Mon Sep 17 00:00:00 2001 From: jalr Date: Tue, 20 Feb 2018 22:22:34 +0100 Subject: [PATCH] remove superflous kernel parameter parsing --- packer/initramfs/labsync | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packer/initramfs/labsync b/packer/initramfs/labsync index cb08aca..bad7984 100755 --- a/packer/initramfs/labsync +++ b/packer/initramfs/labsync @@ -38,21 +38,6 @@ labsync_mount_root() { https://gitlab.jalr.de/fablab/initramfs ' - ## - # READ CONFIGURATION PARAMETERS FROM KERNEL PARAMETERS - ## - - print_waiting "Reading configuration parameters" - set -- $(cat /proc/cmdline) - for x in "$@"; do - arg="$(echo $x | cut -d= -f1)" - case "$arg" in - disk|root|partsize|qemu) - eval $arg="$(echo $x | cut -d= -f2)" - ;; - esac - done - # Check if mandatory parameters are missing if [ -z "$disk" ];then