initscripts/sysvinit: rtc hacks
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Oct 2013 22:25:18 +0000 (01:25 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 17 Oct 2013 22:25:18 +0000 (01:25 +0300)
recipes/initscripts/files/omap3-pandora/save-rtc.sh [new file with mode: 0644]
recipes/initscripts/initscripts_1.0.bb
recipes/sysvinit/sysvinit/omap3-pandora/rcS-default [new file with mode: 0644]
recipes/sysvinit/sysvinit_2.86.bb

diff --git a/recipes/initscripts/files/omap3-pandora/save-rtc.sh b/recipes/initscripts/files/omap3-pandora/save-rtc.sh
new file mode 100644 (file)
index 0000000..05cb2c8
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+# on pandora, system time drifting has been reported, suspected to be related to
+# low power modes, so don't save
+#/etc/init.d/hwclock.sh stop
+
+# Update the timestamp
+date +%2m%2d%2H%2M%Y > /etc/timestamp
index 2c0689f..49f658f 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 DEPENDS = "makedevs"
 RDEPENDS = "makedevs"
 LICENSE = "GPL"
-PR = "r117"
+PR = "r118"
 
 SRC_URI = "file://functions \
            file://halt \
diff --git a/recipes/sysvinit/sysvinit/omap3-pandora/rcS-default b/recipes/sysvinit/sysvinit/omap3-pandora/rcS-default
new file mode 100644 (file)
index 0000000..263e216
--- /dev/null
@@ -0,0 +1,26 @@
+#
+#      Defaults for the boot scripts in /etc/rcS.d
+#
+
+# Time files in /tmp are kept in days.
+TMPTIME=0
+# Set to yes if you want sulogin to be spawned on bootup
+SULOGIN=no
+# Set to no if you want to be able to login over telnet/rlogin
+# before system startup is complete (as soon as inetd is started)
+DELAYLOGIN=no
+# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
+# on pandora, scripts rely on UTC
+UTC=yes
+# Set VERBOSE to "no" if you would like a more quiet bootup.
+VERBOSE=no
+# Set EDITMOTD to "no" if you don't want /etc/motd to be editted automatically
+EDITMOTD=no
+# Whether to fsck root on boot
+ENABLE_ROOTFS_FSCK=no
+# Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
+FSCKFIX=yes
+# Set TICKADJ to the correct tick value for this specific machine
+#TICKADJ=10000
+# Enable caching in populate-volatile.sh
+VOLATILE_ENABLE_CACHE=yes
index 2cf27b2..8e964a1 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "System-V like init."
 SECTION = "base"
 LICENSE = "GPLv2+"
 HOMEPAGE = "http://freshmeat.net/projects/sysvinit/"
-PR = "r58"
+PR = "r59"
 
 # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf.
 # Set PACKAGE_ARCH appropriately.