From 13f0067e375a3aedb1a5a064e913cb84156ee349 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 23 Apr 2013 12:48:31 -0500 Subject: corecdp-mirrors: add multitech.net to PREMIRRORS --- multitech/classes/corecdp-mirrors.bbclass | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/multitech/classes/corecdp-mirrors.bbclass b/multitech/classes/corecdp-mirrors.bbclass index 0d1f0b4..a22d798 100644 --- a/multitech/classes/corecdp-mirrors.bbclass +++ b/multitech/classes/corecdp-mirrors.bbclass @@ -1,3 +1,11 @@ +PREMIRRORS_prepend () { +cvs://.*/.* http://www.multitech.net/corecdp/sources/ +svn://.*/.* http://www.multitech.net/corecdp/sources/ +git://.*/.* http://www.multitech.net/corecdp/sources/ +hg://.*/.* http://www.multitech.net/corecdp/sources/ +bzr://.*/.* http://www.multitech.net/corecdp/sources/ +} + MIRRORS_append () { ftp://.*/.* http://www.multitech.net/corecdp/sources/ https?$://.*/.* http://www.multitech.net/corecdp/sources/ -- cgit v1.2.3 From c9a4bb51677b8cf5f3a1dfcea81f5a00820e484c Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 23 Apr 2013 13:31:11 -0500 Subject: ntp: add ntp_4.2.6p3.bbappend - throw away cron job output cron job logs to syslog anyway, this prevents cron from trying to email the output --- multitech/recipes/ntp/ntp_4.2.6p3.bbappend | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 multitech/recipes/ntp/ntp_4.2.6p3.bbappend diff --git a/multitech/recipes/ntp/ntp_4.2.6p3.bbappend b/multitech/recipes/ntp/ntp_4.2.6p3.bbappend new file mode 100644 index 0000000..c0e6dc4 --- /dev/null +++ b/multitech/recipes/ntp/ntp_4.2.6p3.bbappend @@ -0,0 +1,14 @@ +PR .= ".corecdp1" + +# create cron job and throw away output to avoid email attempts +pkg_postinst_ntpdate() { +if test "x$D" != "x"; then + exit 1 +else + if ! grep -q -s ntpdate /var/cron/tabs/root; then + echo "adding crontab" + test -d /var/cron/tabs || mkdir -p /var/cron/tabs + echo "30 * * * * /usr/bin/ntpdate -b -s -u pool.ntp.org >/dev/null 2>&1" >> /var/cron/tabs/root + fi +fi +} -- cgit v1.2.3 From 5fa32ea3eaf4b00f5f8e972f23e8491c755db78e Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Tue, 23 Apr 2013 13:32:25 -0500 Subject: corecdp: bump CORECDP_LAYER_INC --- multitech/conf/distro/corecdp.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multitech/conf/distro/corecdp.conf b/multitech/conf/distro/corecdp.conf index 01374c4..79f37c6 100644 --- a/multitech/conf/distro/corecdp.conf +++ b/multitech/conf/distro/corecdp.conf @@ -16,7 +16,7 @@ BUILDNAME = "${DISTRO_NAME} ${DISTRO_VERSION}" # bump this to force a bitbake cache refresh when new bbappend files # are added (bitbake cache ignores new bbappend files in 1.12) -CORECDP_LAYER_INC = "3" +CORECDP_LAYER_INC = "4" # Add Multi-Tech mirror for source download as a backup INHERIT += "corecdp-mirrors" -- cgit v1.2.3