Commit Graph

586 Commits

Author SHA1 Message Date
Max Krummenacher
ffb89f034e timestamp-service: don't restore time on shutdown
load-timestamp.sh --save should only save the current systemtime and not
evaluate /etc/timestamp and change the systemtime.
If the systemtime has been changed to something in the past of /etc/timestamp
then that change should be accepted without further checks.

While at it correct the comment. The RTC/hwclock is not touched by the
timestamp service. This is a copy paste error from the init.d implementation
in openembedded-core/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-26 08:12:06 +01:00
Max Krummenacher
fe0b060343 timestamp-service: use new format also for writing
8228b2d56e
changes the time format written to /etc/timestamp
When the system time is set from the content of /etc/timestamp,
one has to use the new format also.

While at it
- remove the now unneeded cut and concatenation as the string is already
  correctly ordered.
- consistently use absolute pathnames to programs
- don't print warnings when /etc/timestamp does not exist

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
(cherry picked from commit 7776d287c3a6666d3789ac0fc706a12b079c1dc7)
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-26 08:11:49 +01:00
Koen Kooi
cef42c8aba ranpwd: switch to mirror since git.zytor.com is broken
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-21 09:27:59 +02:00
Koen Kooi
dae094d69a angstrom-core-tweaks: seperate licenses by MACHINE_ARCH
Without this multimachine builds blow up due to packages having the same
license between architectures. Shocking and unexpected!

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-11 11:15:45 +02:00
Koen Kooi
3eb6942ca3 angstrom core tweaks: prefer angstrom-version over os-release
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-10 08:56:02 +02:00
Andreas Müller
e68432e538 angstrom-next: don't pin OLDEST_KERNEL
error caused in do_rootfs:

| NOTE: > Executing update_pixbuf_cache intercept ...
| FATAL: kernel too old
| WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 127)! See log for details!

and many other 'kernel too old' messages.

So let's trust in OLDEST_KERNEL set by oe-core's bitbake.conf.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-10 08:45:25 +02:00
Koen Kooi
74de3a9171 base-files: fix fstab
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-10-01 10:48:50 +02:00
Koen Kooi
c69a9ad663 angstrom-x11-base-depends: set PACKAGE_ARCH before inherit
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-09-28 09:01:02 +02:00
Koen Kooi
5978f83dd7 systemd 216: turn on resolved and networkd
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-09-28 08:58:36 +02:00
Khem Raj
80d3427bef angstrom-x11-base-depends.bb: Define PACKAGE_ARCH after packagegroup inheritence
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-09-27 11:57:52 -07:00
Koen Kooi
8d99686508 systemd 216: add support for powerbutton on beagleboard, beaglebone and
gpio-keys

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-09-27 10:06:17 +02:00
Koen Kooi
b253320720 systemd 216: merge in OE-core changes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-09-27 09:20:05 +02:00
Koen Kooi
6a2db106fc angstrom-version: prefer over os-release.bb
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-09-26 13:53:30 +02:00
Khem Raj
01c13ec780 angstrom-x11-base-depends: Fix bitbake parse errors
move inheriting packagegroup after setting PACKAGE_ARCH

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-09-20 23:49:55 -07:00
Khem Raj
6932c04859 angstrom: Adjust to eglibc -> glibc change in OE-Core
Default to glibc now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-09-20 19:38:56 -07:00
Koen Kooi
0cd87f4436 angstrom-x11-base-depends: switch PACKAGE_ARCH and inherit order
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-26 12:28:10 +02:00
Koen Kooi
4f95d2c6d2 angstrom-gpe-packagegroup-apps: switch PACKAGE_ARCH and inherit order
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-26 12:27:31 +02:00
Koen Kooi
c4697fd47e angstrom-gpe-task-base: switch PACKAGE_ARCH and inherit order
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-26 12:26:44 +02:00
Koen Kooi
c2ff0fd43d sysvinit bbappend: fix FILESEXTRAPATHS usage
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-26 12:26:05 +02:00
Koen Kooi
2ebfc2d905 angstrom-packagegroup-boot: switch PACKAGE_ARCH and inherit order
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-26 09:38:19 +02:00
Koen Kooi
0d49238cc7 contrib: angstrom feed sorter: fix corei7 arch
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-22 09:09:23 +02:00
Koen Kooi
bc8ab86064 systemd: update to latest git for post-release fixes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-20 15:37:19 +02:00
Koen Kooi
82d3deba29 systemd: update to v216
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-20 15:36:16 +02:00
Peter Kjellerstedt
4da854a7f8 systemd: Inherit gettext
Build fails otherwise if USE_NLS is set to "no".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-20 15:24:06 +02:00
Chen Qi
dd29fcf9e9 systemd: add volatile-binds to RDEPENDS
This services generated from volatile-binds.bb recipe file only have
effect in a read-only filesystem. So if the rootfs is read-write, the
related service are not started.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-20 15:24:06 +02:00
Chen Qi
c43598defa systemd: change dependency relationships
When building out a systemd based image, the udev-hwdb postinstall
script always fails at rootfs time. This is because that the 'udevadm'
command used in udev-hwdb postinstall script is now in the udev
package and udev recommends udev-hwdb.

Instead of letting udev recommends udev-hwdb, we let systemd do it
and make udev-hwdb rdepend on udev.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-20 15:24:06 +02:00
Koen Kooi
9912d988b9 linux-yocto 3.10 bbappend: make FRI2 actually useful
Enable bluetooth, wifi, RTC and disable things like PS/2.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-12 09:15:02 +02:00
Koen Kooi
988d40d76e systemd: add missing curl dependency
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-11 18:26:41 +02:00
Koen Kooi
3f5d24b814 angstrom-next: use ARM version of tools for Aarch64
Also change binutils and gdb ARM version to track linaro latest.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-05 13:11:26 +02:00
Koen Kooi
0590cc95f7 systemd bbappend: fix FILESEXTRAPATHS
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-05 10:59:19 +02:00
Koen Kooi
253c8db411 base-files bbappend: fix FILESEXTRAPATHS
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-05 10:59:05 +02:00
Koen Kooi
ce2798ec0a update-rc.d bbappend: fix FILESEXTRAPATHS
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-08-05 10:57:12 +02:00
Koen Kooi
025fc17d40 ranpwd: fix build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-30 12:00:27 +02:00
Koen Kooi
918cf1737b contrib: angstrom feed sorter: update archs and machines to update
current status

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-24 10:17:38 +02:00
Koen Kooi
0ce9dbaf22 various: drop all PRINCs
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-24 08:48:07 +02:00
Koen Kooi
55a05a2348 systemd: add v215+git
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-24 08:25:10 +02:00
Koen Kooi
e2c94f6daa angstrom-next: move ARM to gcc 4.9
And fix gdb and qemu version

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-23 15:00:08 +02:00
Koen Kooi
c6638cbeeb angstrom-next: set feed URI to 'next' instead of 'core'
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-23 13:44:45 +02:00
Koen Kooi
abefcf7b7b angstrom-next: use gummiboot as default EFI provider
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-23 08:00:50 +02:00
Max Krummenacher
dbdf22a126 update-alternatives: use package created by opkg-utils
In daisy update-alternatives has been moved from opkg to the opkg-utils recipe.
opkg-utils now creates an additional package update-alternatives-opkg.

Without this patch the opkg-utils recipe is built and the opkg-utils package is
installed for VIRTUAL-RUNTIME_update-alternatives.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-07-15 07:22:43 +02:00
Khem Raj
dfd59ed3ed angstrom-core-tweaks: Set PACKAGE_CLASSES to be package_ipk
Fixes issue #4

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-05-15 15:43:00 +00:00
Khem Raj
421f88738b angstrom-next: Adapt to latest toolchain changes from OE-Core
Also perform some cleanup when at it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-05-08 19:34:56 -07:00
Khem Raj
3f6626c055 angstrom-next.conf: Test gcc 4.9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-05-01 00:42:53 -07:00
Khem Raj
a19c3beb5f Updates to match to OE-Core toolchain reorg
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-05-01 00:42:53 -07:00
Khem Raj
435a547969 external-toolchain-angstrom.bb: Delete largely nused and unmaintained recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-05-01 00:42:53 -07:00
Khem Raj
362dafaef2 ranpwd: Fix building out of tree
Now that S != B we need to adjust a bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-04-25 10:51:32 -07:00
Khem Raj
28f17a1c69 angstrom-next.conf: Pin kernel headers to 3.14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-04-22 23:02:45 -07:00
Khem Raj
7643623bd4 recipes-tweaks: Use wildcard for openssl bbappend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-03-15 14:49:57 -07:00
Khem Raj
c2b34194ed Symlink /var/run to /run
This is needed starting systemd-210 where dbus expects
things in /var/run but systemd in /run for more details
see

https://bugs.freedesktop.org/show_bug.cgi?id=75515#c3
http://rawhidewatch.wordpress.com/2014/02/26/long-term-users-check-varrun-is-a-symlink-to-run-before-updating-to-systemd-210/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-03-15 14:49:57 -07:00
Khem Raj
f3684d0390 angstrom-next: Use gold for linker eglibc based images for arm/x86
Remove unused pinnings, use linaro toolchains for arm
including gdb

use OE-Core toolchain for providing native and crossdk
components of toolchain. this helps to choose linaro or
OE-Core toolchain in a single tmpdir and per architecture
still being able to share common components. We really
dont care who provides native and crossdk components anyway
the arm code improvements that come from linaro gcc is
paramount for crossgcc and gcc on target and candian-gcc in
case of SDK where we will use it anyway

Update comments to match current state of affairs

beautify the files a bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-03-15 14:49:49 -07:00