Browse code

Minor: remove filesystem.completed created during the installation.

Mahmoud Bassiouny authored on 2015/08/18 06:38:42
Showing 1 changed files
... ...
@@ -35,10 +35,9 @@ cd ${BUILDROOT} || fail "${PRGNAME}: Change directory: ${BUILDROOT}: FAILURE"
35 35
 #
36 36
 #	Setup the filesystem for chapter 06
37 37
 #
38
-mkdir -p LOGS
39 38
 RPMPKG="$(find RPMS -name 'filesystem-[0-9]*.rpm' -print)"
40 39
 [ -z ${RPMPKG} ] && fail "	Filesystem rpm package missing: Can not continue"
41
-run_command "	Installing filesystem" "rpm -Uvh --nodeps --root ${BUILDROOT} --dbpath /var/lib/rpm ${RPMPKG}" "LOGS/filesystem.completed"
40
+run_command "	Installing filesystem" "rpm -Uvh --nodeps --root ${BUILDROOT} --dbpath /var/lib/rpm ${RPMPKG}" "${LOGFILE}"
42 41
 
43 42
 # 	Ommited in the filesystem.spec file - not needed for booting
44 43
 [ -e ${BUILDROOT}/dev/console ]	|| mknod -m 600 ${BUILDROOT}/dev/console c 5 1