summaryrefslogtreecommitdiffstats
path: root/projectroot
Commit message (Collapse)AuthorAgeFilesLines
* rc-once: make sure ssh key material is synced to diskRobert Schwebel2020-08-101-0/+2
| | | | | | | | | Without this sync, it might happen (and has been observed during tests) that ssh keys are generated, then the board is switched off, before the data made its way to the medium. This results in empty ssh keys, which makes the sshd service fail. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* rc-once: copy upstream systemd-rc-once from ptxdist-2020.08.0Robert Schwebel2020-08-101-0/+54
| | | | | | This is the original file, which will be modified in the next commit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* projectroot: remove leftover filesRoland Hieber2020-06-272-26/+0
| | | | | | | | | | | | The i586 platform was renamed to i686 in commit 5274c7a757e696b644b5, which was ultimately removed in commit d910c872889ce67189d8. The versatilepb platform was removed in commit cdfce8cdf7d8513e1485. Fixes: 5274c7a757e696b644b5 (2012-09-27, Jan Luebbe: "platforms: replace included i586 platform with i686 submodule") Fixes: d910c872889ce67189d8 (2016-01-25, Robert Schwebel: "platforms qemu: remove external platform") Fixes: cdfce8cdf7d8513e1485 (2016-02-17, Robert Schwebel: "platforms versatilepb: remove obsolete platform"). Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* datapartition: disable autoformat of non-MBR Linux partitionsAhmad Fatoum2020-03-051-1/+1
| | | | | | | | | | | | | | | | The upcoming STM32MP157C-DK2 board will be the first DistroKit board with a GPT based image and it has barebox as partition 3, unlike the other boards where this is always the data partition. This causes the data partition rule to brick the image by overwriting barebox. As a temporary measure, disable the data partition auto formatting on GPT-images by explicitly checking for partition type 0x83 before starting the service. Eventually we might want to match against a UUID before autoformatting, or create the partition anew altogether. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* projectroot: remove leftover urshd systemd service unit fileAhmad Fatoum2020-02-191-10/+0
| | | | | | | | | | | | | The PTXCONF_URSHD and PTXCONF_URSHD_SYSTEMD_UNIT options were disabled in cb563ef79 ("ptxconfig: reduce active components"), so no one is installing this file anymore. Drop it. Should it be needed in future, the same file is part of the upstream ptxdist rule since 900dfe2cbb8 ("telnetd/urshd: start only with ptxdist-devel in the kernel command line"). Fixes: cb563ef79 ("ptxconfig: reduce active components") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* projectroot: remove leftover GRUB config filesRoland Hieber2018-12-171-16/+0
| | | | | | | | | GRUB is not used in this project, and I cannot find any reference to it ever being enabled. Someone will probably complain if this is needed again. Fixes: 0bebc480d15ace51a ("Provide the last release as a new beginning") Signed-off-by: Roland Hieber <rohieb@rohieb.name>
* datapartition: /usr mergeRobert Schwebel2017-06-303-0/+0
| | | | | | | Since 69841205bc7e114c40ccd3303fae2c97d0c42184 in ptxdist, the systemd /usr merge is active. Adapt local rules as well. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2016.07.0 -> 2016.08.0Robert Schwebel2016-08-181-20/+0
| | | | | | | | With systemd being updated from 229 to 230, the old bindmount for /run from our local fstab doesn't work any more and ends up in emergency mode. Remove fstab and replace with ptxdist standard file. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* NetworkManager: fix resolv.conf handlingRobert Schwebel2016-06-101-0/+6
| | | | | | | | | | | | | | | | With NetworkManager 1.2, the /etc/resolv.conf handling was changed and we didn't notice. NetworkManager assumes that resolv.conf is already handled manually and writes its generated resolv.conf only to /run/NetworkManager/resolv.conf instead of the location we set our /etc/resolv.conf link to. By setting rc-manager=file, the old behaviour is restored. This patch has been sent upstream. Found-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* image: change partitioning, add data partitionRobert Schwebel2016-06-103-0/+40
| | | | | | | | | | | We change the partitioning to have one root-A partition of 512 MB and a data partition that fills up the rest of the boot medium. The systemd-autoformat@.service formats the data partition if it isn't already, and the 91-mkfs-ext4 rule automatically mounts it to /mnt/data. Inspired-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* urshd: run only if 'devel' is in the kernel command lineJan Luebbe2012-09-271-0/+10
| | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
* Provide the last release as a new beginningJuergen Beisert2011-01-283-0/+42
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>