about summary refs log tree commit diff
path: root/dracut
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-05-27 18:17:47 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-05-27 18:17:47 +0200
commit467c4d23f114d9f87cbce11004698aa18ff8cc32 (patch)
tree40384bd093d5029dfa4f8aad624125e9144d7ca0 /dracut
parent31d73d067d7f4834ff73a70a540b9a882bf6cc26 (diff)
parentde4c52a4a6ea274ea84e30a876a8ac5430355634 (diff)
downloadhrmpf-467c4d23f114d9f87cbce11004698aa18ff8cc32.tar.gz
hrmpf-467c4d23f114d9f87cbce11004698aa18ff8cc32.tar.xz
hrmpf-467c4d23f114d9f87cbce11004698aa18ff8cc32.zip
Merge branch 'master' of https://github.com/voidlinux/void-mklive
* 'master' of https://github.com/voidlinux/void-mklive:
  installer.sh.in: add ISO-639 and ISO-3166 tables (#71)
  mkimage.sh.in: add odroid-c2.
  mkrootfs.sh.in: add odroid-c2.
  Add *.iso to .gitignore (#69)
  mkimage: get rid of parted completely (missed this in previous).
  dracut/adduser.sh: remove double whitespace from sudoers.
  mkrootfs: ignore rmdir error output.
  mkimage: ci20 uboot does not need /boot/vmlinux.img; looks for uImage.
  mkimage: match any platform (glibc and musl).
  mkimage: get rid of parted; use sfdisk(8).
  mkimage: ci20 just needs a single partition and expects the kernel in /vmlinux.img.
  mkimage: added ci20 platform support (MIPS CI20 Creator).
  mkrootfs: added ci20 platform support (MIPS CI20 Creator).
Diffstat (limited to 'dracut')
-rw-r--r--dracut/adduser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh
index f06a4ea..e59fca1 100644
--- a/dracut/adduser.sh
+++ b/dracut/adduser.sh
@@ -32,7 +32,7 @@ chroot ${NEWROOT} sh -c "echo "$USERNAME:voidlinux" | chpasswd -c SHA512"
 
 # Enable sudo permission by default.
 if [ -f ${NEWROOT}/etc/sudoers ]; then
-    echo "${USERNAME}  ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers
+    echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers
 fi
 
 if [ -d ${NEWROOT}/etc/polkit-1 ]; then