public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, thirteen, updated. e5713a7e2109cd38a64a2d752495a735a8ac4453
Date: Sun, 25 Nov 2012 12:48:53 +0100	[thread overview]
Message-ID: <20121125114854.10F5E202F6@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, thirteen has been updated
       via  e5713a7e2109cd38a64a2d752495a735a8ac4453 (commit)
      from  330e81cd9d08d47699032b5eb972c72a0c150ab5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e5713a7e2109cd38a64a2d752495a735a8ac4453
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sun Nov 25 12:48:00 2012 +0100

    firstsetup: initiate linux-pae installation.

-----------------------------------------------------------------------

Summary of changes:
 src/initscripts/init.d/firstsetup | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/src/initscripts/init.d/firstsetup b/src/initscripts/init.d/firstsetup
index b658cfa..0d3f448 100644
--- a/src/initscripts/init.d/firstsetup
+++ b/src/initscripts/init.d/firstsetup
@@ -1,4 +1,10 @@
 #!/bin/bash
+
+# Exit if firstsetup was already done...
+if [ -e /var/ipfire/main/firstsetup_ok ]; then
+	exit 0;
+fi
+
 # Edit the serial console entry at /etc/inittab matching to console parameter.
 ser_console() {
 	while test x"$1" != x
@@ -27,10 +33,19 @@ if [ "${?}" == "1" ]; then
 	echo Setup not finished. Rebooting ...
 	reboot -f
 fi
+
+# plan install pae kernel at next pakfire update if pae is supported
+rm -rf /opt/pakfire/db/*/meta-linux-pae
+if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
+	echo "Name: linux-pae" > /opt/pakfire/db/installed/meta-linux-pae
+	echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-pae
+	echo "Release: 0"     >> /opt/pakfire/db/installed/meta-linux-pae
+fi
+
 echo Restarting udev...
 killall udevd
 /sbin/udevd --daemon
 /sbin/udevadm trigger
 /sbin/udevadm settle
 /etc/init.d/sysklogd stop
-rm -f /etc/rc.d/rcsysinit.d/S75firstsetup
+touch /var/ipfire/main/firstsetup_ok


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2012-11-25 11:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20121125114854.10F5E202F6@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox