Ignore:
Timestamp:
Dec 5, 2010, 3:06:23 PM (12 years ago)
Author:
amain
Message:

fix: #50, Buildenv create stops to ask question about existing /etc/sudoers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/debian/buildenv/debian.mk

    r134 r139  
    5252                                                $(CONFIG_DEBIAN_BUILDENV_REPOSITORY)
    5353        sudo bash -c "echo 127.0.0.1 `hostname -s` >$(DEBIAN_BUILD_DIR)/etc/hosts"
    54         sudo bash -c "echo \"$(USER) ALL=(ALL) NOPASSWD: ALL\" >$(DEBIAN_BUILD_DIR)/etc/sudoers"
    5554        sudo bash -c "echo debwrt-$(call qstrip,$(CONFIG_ARCH))-$(DEBIAN_BUILD_VERSION) > $(DEBIAN_BUILD_DIR)/etc/debian_chroot"
    5655        sudo bash -c "echo syntax on >$(DEBIAN_BUILD_DIR)/etc/vimrc"
     
    6261        sudo chroot $(DEBIAN_BUILD_DIR) groupadd -g $(shell id -g) debwrt
    6362        sudo chroot $(DEBIAN_BUILD_DIR) useradd -g debwrt -s /bin/bash -m -u $(shell id -u) $$USER
     63        sudo bash -c "echo \"$(USER) ALL=(ALL) NOPASSWD: ALL\" >$(DEBIAN_BUILD_DIR)/etc/sudoers"
    6464        touch $@
    6565
Note: See TracChangeset for help on using the changeset viewer.