Commit Graph

948 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 45bc37acf6 idu/bsc: libx11-trim is dead for a long time use libx11-diet
Yocto master now fails because our preferred provider does not
exist anymore and no other provider is picked.
2015-12-19 16:21:49 +01:00
Holger Hans Peter Freyther dc69479f0f sysmocom-backup: Fix creating of back-ups for external files
* The file we install is called default.files and not *.backup
* Spotted by Lazlo while creating a backup on the latest system
2015-12-15 11:00:10 +01:00
Holger Hans Peter Freyther 3b80fa69e8 osmo-bts: Upgrade to latest pre l1sap release, upgrade firmware
Upgrade the superfemto firmware to version 5.1 and upgrade the
osmo-bts to the latest release before the l1sap changes.
2015-12-07 13:24:21 +01:00
Holger Hans Peter Freyther bbfabee7c1 iproute2: Disable arpd differently on newer releases
It is checking for the berkeley db in some way but let's make sure
that between our current release and the next one we have the
same functionality.
2015-12-03 17:24:44 +01:00
Holger Hans Peter Freyther 1394710d91 busybox: Catch up with master again 2015-12-02 21:13:53 +01:00
Holger Hans Peter Freyther 0409324186 rauc: Do not try to populate /etc/opkg/
Our initramfs images are supposed to be small and don't have a
/etc/opkg folder so attempting to put feed config in there will
fail. Reset the FEED_URIS that come from our local.conf.
2015-11-27 11:00:19 +01:00
Holger Hans Peter Freyther 5a1dca4d60 ca-certificates: Try to fetch it from launchpad
The angstrom mirror is very slow in finding the file (no dirhash?),
let's see if canonical is any better in serving the file.
2015-11-25 17:52:04 +01:00
Holger Hans Peter Freyther 85f60e5a65 ca-certificates: The source has vanished from debian
It was never a released version so it is not showing up on the
archive.debian.org page. Let's move to angstrom for our stable
source of it.
2015-11-25 17:28:42 +01:00
Holger Hans Peter Freyther b382d145a0 barebox: Update to be buildable with gcc5
No functional change for the specific hardware platform but a
new header to be consumed by gcc5.
2015-11-25 16:46:02 +01:00
Jan Luebbe ca148fe435 barebox: update to newer git version for fixed sysmobts DSP
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-11-25 16:31:24 +01:00
Holger Hans Peter Freyther 33b6d83edd u-boot: Add the compiler-gcc5.h header file
When trying to compile with gcc5 we need this file to be present
as otherwise the build will fail.
2015-11-21 21:39:28 +00:00
Holger Hans Peter Freyther 0700c55790 lm-sensors: Attempt to move to a URI where the code still exists
lm-sensors.org seems to have vanished from the internet. Start to
use a copy what was found by googling.
2015-11-21 10:15:57 +00:00
Holger Hans Peter Freyther 9170107271 task-sysmocom-feed: Attempt to put perf into the feed as well
Make perf (perf-python, perf-perl) available to us as well. Let's
see what the CI is saying about it.
2015-11-20 22:13:23 +00:00
Holger Hans Peter Freyther 8ce4ab4927 sysmocom-backup-data: Avoid an absolute symlink to fix restoring
When restoring the backup the rootfs is mounted in /rootfs/data
and the symlink to the real file would then not work. Attempt to
change the directory first to get a relative symlink.

Untested change and needed for rauc
2015-11-20 21:45:34 +00:00
Harald Welte 20e26fcd3b ntp: fix postinst on systemd based hosts
We need to make sure we're not trying to call systemctl on the build
host.  Thanks to holger for pinpointing this.
2015-11-02 08:54:24 +01:00
Harald Welte ba2e6da375 OWHW: add a machine config 2015-11-01 12:06:07 +01:00
Harald Welte c820b61c10 Add barebox recipe for OWHW 2015-11-01 12:05:38 +01:00
Holger Hans Peter Freyther 20bcf2de07 systemd: It is 225 and not 255.. but let's call it % 2015-10-13 17:41:13 +02:00
Holger Hans Peter Freyther 9b775911a0 systemd: Attempt to catch up with master 2015-10-13 17:39:19 +02:00
Jan Luebbe ff183a100e sysmocom-configure: handle missing system.conf gracefully
If /slot/system.conf is missing, we just exit the generator.
2015-10-13 17:37:03 +02:00
Jan Luebbe 8e104ac413 sysmocom-configure: add simple framework to run configuration scripts
The configuration scripts are named for the systemd units for which they
generate configuration files. The generator causes them to run before
those units are started.
2015-10-13 17:36:42 +02:00
Henning Heinold 08913496cc ntp: change the cron call for ntpdate
* the ntpdate cron job turned into
  a shell script which now checks
  for running timeserver before
  updating the time via ntpdate

* install the cron stanza to the
  cron.d directory like serval
  other packages does

* comment the entry in the old
  crontab file when found

Fixes: SYS#1841
2015-10-02 11:34:46 +02:00
Holger Hans Peter Freyther 9c5ee37ab2 linux-sysmocom: Make room for linux4
Yocto master has introduced GCC5 and this doesn't like to compile
the older linux kernels yet. This year it is time to move to a newer
LTS kernel and this can be Linux-4.1. Make space for the upgrade
by moving the recipe to a new name.
2015-09-08 15:23:37 +02:00
Holger Hans Peter Freyther ebb9f0dd71 osmo-pcu: Upgrade to the latest PCU version
* Fix SGSN re-connect
* Reliability fixes
2015-09-08 14:53:40 +02:00
Jan Luebbe a4edad8b84 linux: update for sysmobts
Move to newer stable kernel (3.10.84).

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:45:40 +02:00
Jan Luebbe 5fa7032384 initramfs-rauc-slot: support restoring the backup archive
This change adds an initramfs module to mount the data partition and
restore the backup to the overlay. It is enabled by adding it to the
image-rauc-slot-initramfs recipe.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>

[hfreyther: keep udev out of the dependencies]
2015-09-08 14:37:03 +02:00
Jan Luebbe 4d66b042e4 sysmocom-backup-data: do not enable the restore service automatically
This is needed for an upcoming change which will restore the backup from
the initramfs.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:36:03 +02:00
Jan Luebbe ecff51c389 rauc: update to newer git version for file reuse support
The new version searches mounted slots for matching files referenced by
the new manifest. This avoids downloading files we already have on the
system.

Additionally, the new version includes better error handling and more
unit tests.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:35:47 +02:00
Jan Luebbe 6b6e9405cc initramfs-rauc-install: fix root device entry for slot B
The typo caused an empty root= command line argument, which made it
impossible to boot this slot.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:35:36 +02:00
Jan Luebbe 6f165aba56 image-rauc-ubi: make sure all files belong to root
mkfs.ubifs needs the --squash-uids options, which squashes owners making all
files owned by root.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:35:21 +02:00
Holger Hans Peter Freyther ce34b983e3 opkg: Upstream has upgraded track it generically
We need to re-evaluate if module autoloading is broken
or not. This is now tracked in SYS#2116.
2015-09-04 07:19:26 +02:00
Holger Hans Peter Freyther 3a87c6e2f4 journald: Backport various leak fixes from later journald versions
Journald being the typical GNOME application is leaking memory left
and right. Let's backport some of the patches that were done in
later versions.

Fixes: SYS#1843
2015-08-26 14:35:49 +02:00
Holger Hans Peter Freyther 243de8f36e linux-sysmocom: Attempt to enable the ext4 kernel module again
Wow.. this seems to be off so frequently. For the SD Card we
should have the ext4 kernel module available.
2015-08-25 17:53:38 +02:00
Henning Heinold 8fd695e69b image-static-dns.inc: fix several items
* use printf instead of echo
* add missing /etc/ for the udhcpc-default file
* add log-entries for all shell actions in the
  post image setup
* generate comments in all files which are touched

Related: SYS#1774
2015-08-20 08:05:12 +02:00
Henning Heinold 4d0adcb963 netcat-openbsd: adding the recipe from meta-networking in meta-openembedded
Fixes: SYS#1962

[hfreyther: Add mising task-sysmocom-feed entry]
2015-08-18 14:09:32 +02:00
Holger Hans Peter Freyther c8e79c559d osmo-pcu: Upgrade for a reliability fix 2015-08-15 09:29:18 +02:00
Holger Hans Peter Freyther 910ab95f6c osmo-pcu: Fix TBF release issue with maybe_reuse 2015-08-13 20:15:02 +02:00
Holger Hans Peter Freyther 10e1b54471 osmo-pcu: Upgrade to the latest code in jerlbeck/master
This is using codel as a form of congestion algorithm to
drop packages early before the queue getting too long.
2015-08-12 07:46:12 +02:00
Holger Hans Peter Freyther d777b0ecd0 sysmocom-backup: Store the UUCP data as well
Store UUCP configuration in the backup as well.
2015-08-11 14:09:12 +02:00
Holger Hans Peter Freyther 2a2a0cf499 sysmocom-backup: Create a single sysmocom-backup-default
We can not have sysmocom-backup-default and sysmocom-backup-data-default
installed at the same time. I don't want to play games with RREPLACE and
RPROVIDES either. So simply use one of the two files. Copy the two more
default values over to the other recipe.
2015-08-11 14:08:41 +02:00
Holger Hans Peter Freyther fa5e7b12e5 sysmocom-idu: Fix the core2 vs. core2-32 tune selection
The distro is included after the machine so we can not rely
on the DISTRO_VERSION here. Use the AVAILTUNES and see if the
core2-32 is listed and then pick it.
2015-08-11 13:44:03 +02:00
Holger Hans Peter Freyther fdc0560b63 rauc: Create default files for a rauc slot to be used by the image
Create a sysmocom-nitb-rauc-image and create a rauc packagegroup
with the default depdencies and an include file to be used by
other images. This assumes that sysmocom-image.inc has been
included first.
2015-08-11 10:02:40 +02:00
Holger Hans Peter Freyther e6712d10df sysmocom-idu: Pick the right tune level
Depending on the upstream version (dora or not) we need to
use either core2 or core2-32. Use a python block expression
to pick this depending on the distro version.
2015-08-11 08:14:34 +02:00
Holger Hans Peter Freyther 6159c85e74 sysmocom-defaults: Be a bit more aggressive for the size
E.g. when using musl and trying to build the smallest possible
rootfs. Existing builds should not start to use these flags as
they would be likely to force a big rebuild.
2015-08-10 15:50:13 +02:00
Holger Hans Peter Freyther a11c332fbb sysmocom-defaults: Add some defaults that make sense to be used
While copying one build to a new directory we inherit most of
the config but it is better to collect this in a single place
so external contributors build with the same options we use.
2015-08-10 15:48:04 +02:00
Holger Hans Peter Freyther ac63f16b9b sysmocom-odu/sysmocom-idu: Use the default tunes we actually use
On our build setup we are using these default tune levels, so
we should apply them everywhere.
2015-08-10 15:46:47 +02:00
Henning Heinold e900822de2 init-ifupdown: move sysmocom-idu to meta-sysmocom
Fixes: SYS#1936
2015-08-10 15:20:47 +02:00
Holger Hans Peter Freyther a01eff9366 image-rauc-slot-initramfs: Diet and don't install udev
We don't need udev in the slot ramfs. We do have the
devtmpfs and don't need to apply any kind of rename
2015-08-10 15:19:53 +02:00
Holger Hans Peter Freyther 79545ec6cd sysmoocom-backup-data: Optimize taking a backup
With the ro image we have a cheap way to figure out which
files were changed. We can run cmp between the to be backed
up file. This way the stored data will be minimal in the
sense of changed files.
2015-08-10 15:19:44 +02:00
Holger Hans Peter Freyther 09dbe7bd33 sysmocom-backup-data: Restore all files that were saved
The backup system allows to define which other files to store
so we should just restore everything regardless of where the
file is coming from.
2015-08-10 15:19:36 +02:00