projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
grml_cleanup_chroot: drop the /usr/include/linux checks
[grml-live.git]
/
buildd
/
functions.sh
diff --git
a/buildd/functions.sh
b/buildd/functions.sh
index
c7d9ebc
..
36d71e7
100755
(executable)
--- a/
buildd/functions.sh
+++ b/
buildd/functions.sh
@@
-24,7
+24,7
@@
type -p mutt 1>/dev/null 2>&1 || die "mutt binary not found. Exiting."
# some defaults:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
# some defaults:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
-DATE=
"$(date +%Y%m%d)"
+DATE=
$(date +'%Y%m%d_%H%M%S')
TMP_DIR="$(mktemp -d)"
MUTT_HEADERS="$(mktemp)"
[ -n "$TMP_DIR" ] || die "Could not create \$TMP_DIR. Exiting."
TMP_DIR="$(mktemp -d)"
MUTT_HEADERS="$(mktemp)"
[ -n "$TMP_DIR" ] || die "Could not create \$TMP_DIR. Exiting."
@@
-90,8
+90,7
@@
create_logs() {
# store logs on remote server:
upload_logs() {
[ -n "$RSYNC_MIRROR" ] || return 1
# store logs on remote server:
upload_logs() {
[ -n "$RSYNC_MIRROR" ] || return 1
- umask 002
- rsync --exclude dmesg.log --times --partial --copy-links -az --quiet /var/log/grml-buildd.* \
+ rsync --exclude dmesg.log --times --partial --copy-links -rltDz --quiet /var/log/grml-buildd.* \
$FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
}
$FAI_LOGFILES $GRML_LOGFILE $RSYNC_MIRROR/logs/"${NAME}_${DATE}"/
}