Changeset 895
- Timestamp:
- Dec 31, 2016, 12:57:30 PM (6 years ago)
- Location:
- trunk/debian/rootfs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/rootfs/debian.mk
r880 r895 115 115 fi 116 116 @echo "Installing generic files (all):" 117 sudo bash -c "tar c f - --exclude=".svn" -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR)/all . | tar -xovf - -C $(ROOTFS_BUILD_DIR)"117 sudo bash -c "tar cpf - --exclude=".svn" -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR)/all . | tar -xpvf - -C $(ROOTFS_BUILD_DIR)" 118 118 @echo "Installing all targets files:" 119 119 sudo mkdir -p $(ROOTFS_BUILD_DIR)/target 120 sudo bash -c "tar c f - --exclude=".svn" --exclude ./all -C $(DEBWRT_EXTRA_ROOTFS_FILES_DIR) . | tar -xovf - -C $(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" 121 121 sudo chmod 600 $(ROOTFS_BUILD_DIR)/etc/ssh/ssh_host_rsa_key 122 122 sudo chmod 600 $(ROOTFS_BUILD_DIR)/etc/ssh/ssh_host_dsa_key -
trunk/debian/rootfs/files/all/etc/init.d/debwrt
r887 r895 57 57 then 58 58 log_action_msg "Extracting target '${target}' specific files from /target/${target}" 59 tar c f - -C /target/${target} . | tar xf - --warning=no-timestamp -C /59 tar cpf - -C /target/${target} . | tar xpf - --warning=no-timestamp -C / 60 60 else 61 61 # no extra files for this target -
trunk/debian/rootfs/files/all/usr/sbin/PostInstall
r891 r895 33 33 sed -i 's!^root:.*!root:$1$Rm/q9RCm$khpJ819vFteZqYNdf60wb1:14254:0:99999:7:::!' /etc/shadow 34 34 35 # Probably a (new) safety measure from debian, but currently simple36 # programs like ping and dnsmasq (as nobody) fail to run will various37 # file system access errors.38 echo "I: Setting +rx on all directories in /"39 find / -maxdepth 1 -mindepth 1 -type d \40 | grep -v "root"41 | grep -v "lost+found"42 | while read dir43 do44 chmod +rx ${dir}45 done46 47 35 echo -n "I: syncing disks...." 48 36 sync
Note: See TracChangeset
for help on using the changeset viewer.