Changeset aafcfa9 for LFS/master.sh
- Timestamp:
- 09/27/2007 08:41:58 PM (17 years ago)
- Branches:
- experimental
- Children:
- 41d8577
- Parents:
- 111d25a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r111d25a raafcfa9 101 101 # Drop in the name of the target on a new line, and the previous target 102 102 # as a dependency. Also call the echo_message function. 103 LUSER_wrt_target "${this_script}" "$PREV"103 wrt_target "${this_script}" "$PREV" 104 104 105 105 # Run the script. … … 107 107 case "${this_script}" in 108 108 *changingowner) wrt_RunAsRoot "$file" ;; 109 *) LUSER_wrt_RunAsUser"$file" ;;109 *) wrt_RunScript "$file" ;; 110 110 esac 111 111 … … 186 186 # Drop in the name of the target on a new line, and the previous target 187 187 # as a dependency. Also call the echo_message function. 188 # In the mount of kernel filesystems we need to set LFS 189 # and not to use chroot. 190 case "${this_script}" in 191 *kernfs) LUSER_wrt_target "${this_script}" "$PREV" ;; 192 *) CHROOT_wrt_target "${this_script}" "$PREV" ;; 193 esac 188 wrt_target "${this_script}" "$PREV" 194 189 195 190 # Touch timestamp file if installed files logs will be created. 196 191 # But only for the firt build when running iterative builds. 197 192 if [ "$name" != "" ] && [ "${INSTALL_LOG}" = "y" ] && [ "x${N}" = "x" ] ; then 198 CHROOT_wrt_TouchTimestamp193 wrt_TouchTimestamp 199 194 fi 200 195 … … 202 197 # and not to use chroot. 203 198 case "${this_script}" in 204 *kernfs) wrt_RunAsRoot 205 *) CHROOT_wrt_RunAsRoot "$file" ;;199 *kernfs) wrt_RunAsRoot "$file" ;; 200 *) wrt_RunScript "$file" ;; 206 201 esac 207 202 208 203 # Write installed files log 209 204 if [ "$name" != "" ] && [ "${INSTALL_LOG}" = "y" ] && [ "x${N}" = "x" ] ; then 210 CHROOT_wrt_LogNewFiles "$name"205 wrt_LogNewFiles "$name" 211 206 fi 212 207 … … 255 250 # Drop in the name of the target on a new line, and the previous target 256 251 # as a dependency. Also call the echo_message function. 257 CHROOT_wrt_target "${this_script}" "$PREV"252 wrt_target "${this_script}" "$PREV" 258 253 259 254 # For bootscripts and kernel, start INSTALL_LOG if requested 260 255 case "${this_script}" in 261 256 *bootscripts | *kernel ) if [ "${INSTALL_LOG}" = "y" ] ; then 262 CHROOT_wrt_TouchTimestamp263 257 wrt_TouchTimestamp 258 fi ;; 264 259 esac 265 260 … … 267 262 case "${this_script}" in 268 263 *fstab) if [[ -n $FSTAB ]]; then 269 CHROOT_wrt_CopyFstab264 wrt_CopyFstab 270 265 else 271 CHROOT_wrt_RunAsRoot "$file" 272 fi 273 ;; 274 *) CHROOT_wrt_RunAsRoot "$file" 275 ;; 266 wrt_RunScript "$file" 267 fi ;; 268 *) wrt_RunScript "$file" ;; 276 269 esac 277 270 278 271 case "${this_script}" in 279 272 *bootscripts) if [ "${INSTALL_LOG}" = "y" ] ; then 280 CHROOT_wrt_LogNewFiles "lfs-bootscripts"273 wrt_LogNewFiles "lfs-bootscripts" 281 274 fi ;; 282 275 *kernel) if [ "${INSTALL_LOG}" = "y" ] ; then 283 CHROOT_wrt_LogNewFiles "linux"276 wrt_LogNewFiles "linux" 284 277 fi ;; 285 278 esac
Note:
See TracChangeset
for help on using the changeset viewer.