From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QCAG9-0000dR-7Y for garchives@archives.gentoo.org; Tue, 19 Apr 2011 12:42:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D9801C00E; Tue, 19 Apr 2011 12:40:51 +0000 (UTC) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by pigeon.gentoo.org (Postfix) with ESMTP id D75B51C00E for ; Tue, 19 Apr 2011 12:40:50 +0000 (UTC) Received: from [212.54.34.142] (helo=smtp11.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1QCAEc-0005uC-Be for gentoo-user@lists.gentoo.org; Tue, 19 Apr 2011 14:40:50 +0200 Received: from 5ed02730.cm-7-1a.dynamic.ziggo.nl ([94.208.39.48] helo=data.antarean.org) by smtp11.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1QCAEb-0007JB-IO for gentoo-user@lists.gentoo.org; Tue, 19 Apr 2011 14:40:49 +0200 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id 9AB062A14 for ; Tue, 19 Apr 2011 14:41:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.antarean.org ([127.0.0.1]) by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8RrvXqyQuWpv for ; Tue, 19 Apr 2011 14:41:36 +0200 (CEST) Received: from eve.localnet (eve.lan.antarean.org [10.20.13.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPS id 5CF7E1135 for ; Tue, 19 Apr 2011 14:41:36 +0200 (CEST) From: Joost Roeleveld To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Howzat! Date: Tue, 19 Apr 2011 14:40:48 +0200 User-Agent: KMail/4.6 beta4 (Linux/2.6.36-gentoo-r5; KDE/4.6.2; x86_64; ; ) In-Reply-To: <20110419090418.00cdff45@digimed.co.uk> References: <201104180228.59487.peter@humphrey.ukfsn.org> <20110419065754.D2F7C39B2@data.antarean.org> <20110419090418.00cdff45@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Message-Id: <20110419124136.9AB062A14@data.antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1QCAEb-0007JB-IO X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.928, vereist 5, BAYES_00 -1.90, RDNS_DYNAMIC 0.98, T_RP_MATCHES_RCVD -0.01) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: X-Archives-Hash: 7abc2536d2276fca4d3d0cc3923b6bc6 On Tuesday 19 April 2011 09:04:18 Neil Bothwick wrote: > On Tue, 19 Apr 2011 08:57:07 +0200, Joost Roeleveld wrote: > > > > Incidentally, my cron script that runs emerge --sync follows it > > > > with > > > > emerge-uDNf world, so the files are already in $DISTDIR when I > > > > want > > > > to update. > > > > > > Can you post the script? > > > > My guess is that the script would be something like the following: > > ===== > > #!/bin/sh > > # > > emerge --sync > > emerge -uDNf world > > ===== > > That's the gist of it, although it also emails the output from emerge > -pvDN world, so I can see what needs to be done. It runs a few other > bits, like glsa-check. Like the following? ===== #!/bin/sh # /bin/mkdir /tmp/ABBAABBA_portage_sync /usr/bin/layman -S /usr/bin/eix-sync /usr/bin/glsa-check -d $(/usr/bin/glsa-check -t all) > /tmp/ABBAABBA_portage_sync/portage_sync_glsa.log /bin/mail -e -s "Portage Sync [GLSA-log]" memyselfandi@example.org < /tmp/ABBAABBA_portage_sync/portage_sync_glsa.log /bin/rm /tmp/ABBAABBA_portage_sync/portage_sync_glsa.log /usr/bin/emerge -pvauD --newuse world > /tmp/ABBAABBA_portage_sync/portage_sync_emerge.log /bin/mail -e -s "Portage Sync [EMERGE-list]" memyselfandi@example.org < /tmp/ABBAABBA_portage_sync/portage_sync_emerge.log /bin/rm /tmp/ABBAABBA_portage_sync/portage_sync_emerge.log /bin/rmdir /tmp/ABBAABBA_portage_sync ===== In the above script, I put an empty line between each command for readability. This is what I run on my system. -- Joost