Changeset 901


Ignore:
Timestamp:
Jan 2, 2017, 9:21:55 PM (5 months ago)
Author:
amain
Message:

rootfs: make debwrt files owned by root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/rootfs/debian.mk

    r899 r901  
    115115        fi
    116116        @echo "Installing generic files (all):"
    117         sudo bash -c "tar cpf - --exclude=".svn" -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR)/all . | tar -xpvf - -C $(ROOTFS_BUILD_DIR)"
     117        sudo bash -c "tar cpf - --exclude=".svn" --owner=root --group=root -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR)/all . | tar -xpvf - -C $(ROOTFS_BUILD_DIR)"
    118118        @echo "Installing all targets files:"
    119119        sudo mkdir -p $(ROOTFS_BUILD_DIR)/target
    120         sudo bash -c "tar cpf - --exclude=".svn" --exclude ./all -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR) . | tar -xpvf - -C $(ROOTFS_BUILD_DIR)/target"
     120        sudo bash -c "tar cpf - --exclude=".svn" --exclude ./all --owner=root --group=root -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR) . | tar -xpvf - -C $(ROOTFS_BUILD_DIR)/target"
    121121        sudo chmod 600 $(ROOTFS_BUILD_DIR)/etc/ssh/ssh_host_rsa_key
    122122        sudo chmod 600 $(ROOTFS_BUILD_DIR)/etc/ssh/ssh_host_dsa_key
Note: See TracChangeset for help on using the changeset viewer.