All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@micronovasrl.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/2] at: change upstream site, bump version
Date: Tue, 18 Sep 2018 23:43:27 +0200	[thread overview]
Message-ID: <5962477e-9373-e3c4-9136-26a61869cadc@micronovasrl.com> (raw)
In-Reply-To: <20180918213949.36376-2-giulio.benetti@micronovasrl.com>

Forgot to mention V1->V2 Changes:
- removed patch for parallel build since it doesn't work in every case
- improved s99at script to have atd working in live session warning
   about that after reboot atjobs will be lost.

Sorry.
Kind regards
-- 
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642

Il 18/09/2018 23:39, Giulio Benetti ha scritto:
> At is now available on a git repository at:
> https://salsa.debian.org/debian/at
> Main changes 3.1.16 -> 3.1.23:
> - add support for SELinux, multiple files
> - improve atd.service, see bug report 892819
> - fix various bugs and warnings
> - finalized script to release software
> 
> So:
> - change AT_SITE_METHOD to git pointing to release/3.1.23
> - update tarball sha256 in hash file
> - improved S99at script:
>    if /var/spool is linked to /tmp, .SEQ file will be lost and atd won't
>    work neither for a live session. Create .SEQ file if not found, warning
>    during start that after reboot atjobs could be lost.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
> ---
>   package/at/S99at   |  9 +++++++++
>   package/at/at.hash |  4 ++--
>   package/at/at.mk   | 10 ++++++----
>   3 files changed, 17 insertions(+), 6 deletions(-)
> 
> diff --git a/package/at/S99at b/package/at/S99at
> index 666d39b546..fb81736ae2 100755
> --- a/package/at/S99at
> +++ b/package/at/S99at
> @@ -6,6 +6,15 @@
>   umask 077
>   
>   start() {
> +	# Since /va/spool can be linked to /tmp (tmpfs)
> +	# /var/spool/cron/atjobs/.SEQ created could be not available
> +	# Check if not exists otherwise create it
> +	if [ ! -f /var/spool/cron/atjobs/.SEQ ]; then
> +	    mkdir -p /var/spool/cron/atjobs/
> +	    touch /var/spool/cron/atjobs/.SEQ
> +	    printf "atd: Created missing .SEQ file. Probably it's in tmpfs and on reboot atjobs will be lost!\n"
> +	fi
> +
>   	printf "Starting atd: "
>   	start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f
>   	echo "OK"
> diff --git a/package/at/at.hash b/package/at/at.hash
> index 22c732cc7e..e6eb26d818 100644
> --- a/package/at/at.hash
> +++ b/package/at/at.hash
> @@ -1,2 +1,2 @@
> -# From: http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/at/at_3.1.16-1.dsc
> -sha256 cb9af59c6a54edce9536ba629841055409d1f89d8ae26494727a97141fb4d5c1  at_3.1.16.orig.tar.gz
> +# Locally calculated
> +sha256 f5c7c8226fab0bc4e2d16a55e04d4026f3452db51fc5cbcc4bb5a3c79a79f7ef  at-release_3.1.23.tar.gz
> diff --git a/package/at/at.mk b/package/at/at.mk
> index 058ebac5c8..083fbbc74b 100644
> --- a/package/at/at.mk
> +++ b/package/at/at.mk
> @@ -4,10 +4,11 @@
>   #
>   ################################################################################
>   
> -AT_VERSION = 3.1.16
> -AT_SOURCE = at_$(AT_VERSION).orig.tar.gz
> -AT_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/at
> -# missing deps for parsetime.l
> +AT_VERSION = release/3.1.23
> +AT_SITE = https://salsa.debian.org/debian/at.git
> +AT_SITE_METHOD = git
> +# Tried to add missing deps for parsetime.l but still parallel build fails
> +# in some case, so at the moment let's keep MAKE1
>   AT_MAKE = $(MAKE1)
>   AT_AUTORECONF = YES
>   AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex
> @@ -23,6 +24,7 @@ AT_CONF_OPTS = \
>   
>   define AT_INSTALL_INIT_SYSV
>   	$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
> +	
>   endef
>   
>   $(eval $(autotools-package))
> 

  reply	other threads:[~2018-09-18 21:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17 21:12 [Buildroot] [PATCH 0/2] at: bump version Giulio Benetti
2018-09-17 21:12 ` [Buildroot] [PATCH 1/2] at: change upstream site, " Giulio Benetti
2018-09-18  7:57   ` Thomas Petazzoni
2018-09-18  8:01     ` Giulio Benetti
2018-09-18  9:16       ` Thomas Petazzoni
2018-09-18 20:28         ` Giulio Benetti
2018-09-18 21:39     ` [Buildroot] [PATCH v2 0/2] at: " Giulio Benetti
2018-09-18 21:39       ` [Buildroot] [PATCH v2 1/2] at: change upstream site, " Giulio Benetti
2018-09-18 21:43         ` Giulio Benetti [this message]
2018-09-20  4:38         ` Baruch Siach
2018-09-20 16:43           ` Giulio Benetti
2018-09-20 12:43         ` Matthew Weber
2018-09-20 16:47           ` Giulio Benetti
2018-09-18 21:39       ` [Buildroot] [PATCH v2 2/2] at: add sha256 for legal-info files Giulio Benetti
2018-09-19  9:57       ` [Buildroot] [PATCH v2 0/2] at: bump version Giulio Benetti
2018-09-20 16:59       ` [Buildroot] [PATCH v3 " Giulio Benetti
2018-09-20 16:59         ` [Buildroot] [PATCH v3 1/2] at: change upstream site, " Giulio Benetti
2018-09-20 17:40           ` Matthew Weber
2018-09-20 17:42             ` Giulio Benetti
2018-09-20 16:59         ` [Buildroot] [PATCH v3 2/2] at: add sha256 for legal-info files Giulio Benetti
2018-09-23 21:33         ` [Buildroot] [PATCH v3 0/2] at: bump version Thomas Petazzoni
2018-09-23 22:58           ` Giulio Benetti
2018-09-17 21:12 ` [Buildroot] [PATCH 2/2] at: add sha256 for legal-info files Giulio Benetti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5962477e-9373-e3c4-9136-26a61869cadc@micronovasrl.com \
    --to=giulio.benetti@micronovasrl.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.