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
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
73d48c807e
image-rauc-rescue-initramfs: Do not install kbd packages
...
None of our systems have a graphical console. We do not need
to install packages that load keymaps, change console fonts and
the console fonts.
2015-08-08 13:51:33 +02:00
Holger Hans Peter Freyther
3c84414af4
image-rauc-ubi: Attempt to fix when building from sstate-cache
...
These are set by image.bbclass and they appear to resolve the
issue of the exception during SetScene.
2015-08-08 13:35:11 +02:00
Holger Hans Peter Freyther
72f1df181d
image-rauc-ubi: Make some more space for the data partition
...
By using initramfs for the rescue we occupy 8mb + ~3mb for the
kernel and can reduce the size of that slot. With glibc it is
difficult to reduce this even further. Let's see if a uclibc
build can help us
2015-08-07 19:46:02 +02:00
Jan Luebbe
046634e17a
image-rauc-ubi: change rescue slot layout
...
Splitt of the actual rescue root filesystem to
image-rauc-rescue-initramfs and build image-rauc-ubi using
kernel+initramfs (like normal rauc slots).
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-08-07 19:22:16 +02:00
Holger Hans Peter Freyther
fd44e0be45
image-rauc-slot-rescue: Make sure dropbear is in the image too
2015-07-12 11:50:02 +02:00
Holger Hans Peter Freyther
9955e6aaf6
image-rauc-slot-rescue: Remove bts kernel modules if present
...
In case of the sysmobts we can remove the kernel modules for
the dsp communication.
2015-07-12 10:47:22 +02:00
Holger Hans Peter Freyther
e696c6fb6b
image-rauc-slot-rescue: Do not add e2fsprogs-fsck
...
For the ODU/BTS we do not have ext4 and will not need to check
a filesystem. Do not install these recommendations.
2015-07-12 10:41:49 +02:00
Holger Hans Peter Freyther
870b73cb12
image-rauc-slot-rescue: Remove some more files from it
...
* We never need the BTS firmware. We never want to do GSM from
within rescue image
* Remove various udev hardware dbs. I think we couldn't care less
about identifying peripheral devices by name and such.
2015-07-12 09:22:58 +02:00
Holger Hans Peter Freyther
455820b8d3
image-rauc-slot-rescue: Reduce the size of the rescue slot
...
The system should be as small as possible and besides tools to
touch flash and block files, SSHD and rauc there should be nothing
else. We might continue to have opkg on it to allow updating it
2015-07-12 09:21:03 +02:00
Jan Luebbe
385453cf22
initramfs-rauc-install: add installer for the sysmocom-idu
...
The partition layout needed for rauc is different from the one created
by the existing installer (based on the live image).
An initramfs-framework module for installation to the sysmocom-idu is
added. It is included in a corresponding initramfs image for use on an
USB memory stick.
2015-07-03 17:45:24 +02:00
Jan Luebbe
b5586ef6c9
image-rauc-slot-rescue: UBI parameters should be set by the machine
...
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:48:30 +02:00
Jan Luebbe
e1aa1be647
image-rauc-slot-rescue: support sysmobts
...
For the sysmobts we need custom ubi volume layout, so we need to
override IMAGE_CMD_ubi().
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:37:29 +02:00
Holger Hans Peter Freyther
263e63eab6
image-rauc-slot-resuce: Install rauc as well
...
Install rauc so a user can update/fix the normal slots
2015-06-13 17:33:56 +02:00
Jan Luebbe
1dbb411e3d
images: add rauc slot and rescue initramfs images
...
Add initramfs images for rauc slots.
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:23:28 +02:00
Henning Heinold
21356b7508
initrdscripts: make it possbile to secure grub with a password
...
* an example setup for the IDU can be found on
https://projects.sysmocom.de/redmine/projects/sob-idu/wiki/ProvisioningSetup
Fixes: SYS#1130
2015-03-07 22:15:00 +01:00
Henning Heinold
1b5a3eb3af
initramfs: mount external partitions readonly
...
Fixes: SYS#521
2014-08-28 23:13:34 +02:00