| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Similar to using 0xef for efi partitions with MBR partitioning, there is
a dedicated type for these when GPT partitioning is to be used.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Message-Id: <20200519100511.25651-1-u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Note: requires genimage v13 or later
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Message-Id: <20200515142641.812-15-bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
The old version fails to build with glibc >= 2.31.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a new option to generate permission metadata files.
The format of the files is defined by qemu: For each file or directory, an
additional file .virtfs_metadata/<filename> is created. It contains the
real ownership, permissions and information on special files (device nodes,
sockets, fifos).
With this extra data, qemu can use the nfsroot as a 9p filesystem and the
option 'security_model=mapped-file' to provide the correct ownership,
permissions etc. to the guest system.
The NFS server run by 'ptxdist nfsroot' will also use this data. This has
some advantages over the current fakeroot + permission fixup:
- A running fakeroot often gets confused if the underlying files are
changed. As a result, the wrong type or permissions may be used.
Handling everything inside the NFS server avoids this problem.
- The metadata of newly created files are preserved across NFS server
restarts.
- The NFS server starts faster because it is not necessary to change the
permissions of all files first
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
This was added in commit 0539cb3b0bd27832d479 ("[image_iso] add option
to create a bootable ISO image") but everything that referenced it has
been removed since.
Fixes: 56ff221ebe27182c4720 ("platforms: remove old ISO image rule")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds additional client specifications for the nfsroot mount.
The default value is the same as it was hardcoded before. This offers to
change this line without maintaining the whole file in a separate BSP.
The client specifications is part of the official export format which is
set right after the directory which is exported, for more information
lookup:
https://linux.die.net/man/8/unfsd
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Images created by genext2fs are a bit strange. For some reason, readdir()
returns d_type == DT_UNKNOWN. This breaks systemd unit parsing,
specifically alias (symlink) detection.
As a result. 'default.target' is detected as a 'normal' unit, not an alias
ans strange things happen. It looks like only 'basic.target' is started and
not 'multi-user.target' so gettys and other services are not started.
Just use mke2fs to create the image to avoid this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This file has been touched 2 times in the last 7 years, and is no longer
up to date. Remove it to carry less unmaintained stuff around.
Also remove all references to it from file headers using
for file in `g grep -l 'See CREDITS for details about who has'`; do
sed -i '/See CREDITS for details about who has/,+1d' $file
done
as well as the different wording from rules/other/Toplevel.make.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Instead '$(ENV_VARNAME)' can be used directly.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Also, follow Debian and upstream and enable some more options.
The license md5 changes are just copyright year updates.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Also, follow Debian and upstream and enable some more options.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some PTXdist packages use SOURCE_DATE_EPOCH to make the build more
reproducible. Make this behaviour more configurable via a newly
introduced ptxdist options. And make it possible to disable the stable
SOURCE_DATE_EPOCH via 'ptxdist setup'.
By default, this will set SOURCE_DATE_EPOCH to the year and month of the
PTXdist version. Using the toolchain version and a custom value is also
possible.
Move setting SOURCE_DATE_EPOCH to the scripts that are evaluated just
before make is called. This way, the toolchain setup and validation already
happened. Otherwise ptxd_timestamp_toolchain() may fail early before the
relevant checks and errors.
Based on a patch from Florian Bäuerle <florian.baeuerle@allegion.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Without a exe_wrapper meson tries to guess if it can execute binaries.
Explicitly set that a wrapper is needed to avoid this autodetection.
Cross binaries should never be executed even if the architecture matches.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
SETUP_PROJECTPATH is no longer used, so just remove it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
[mol: remove old patches, update license md5, copyright year change only]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
squash! hostapd: version bump 2.6 -> 2.7
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Drop upstreamed patch and update configs.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
This adds rules for generating a squashfs image from the root
filesystem via genimage.
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
The '/individual' should not be there. Also use https and
ftp.x.org/archive. The old URLs permanently redirect there.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Like in other image recipes, this will allow customizing the name of the
generated artifact from the corresponding image recipe
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
- Fix ftp.x.org URL.
- Remove ftp.sunet.se. It stopped mirroring X.org.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The toolchain wrappers add the search directories to the compiler command
line. Mark them as implicit directories, so that cmake won't add them
again. This prevents problems caused by an unexpected search order.
Without this building the poppler qt5 wrapper may fail if qt4 is install
into sysroot-target.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
It's not available on older Linux distributions.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
By default the target linker will read /etc/ld.so.cache of the build host.
This causes qemu-ppc to crash on a x86_64 host.
Avoid this by explicitly calling the dynamic linker with '--inhibit-cache'.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a default image recipe for building a RAUC update Bundle out of the
systems rootfs.
In order to sign your update (mandatory) you need to place a valid certificate
and key file in your BSP. Their location is
default they are currently expected to be located at:
$(PTXDIST_PLATFORMCONFIGDIR)/config/rauc/rauc.key.pem (key)
$(PTXDIST_PLATFORMCONFIGDIR)/config/rauc/rauc.cert.pem (cert)
PTXdist will then create the bundle during a run of `ptxdist images`.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Also update the busybox config tree and use the split-up IFUP and IFDOWN
symbols in initmethod-*.in.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Bump version and update busybox Config.in files.
Also use the HTTPS URL for downloading.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
[mol: add selinux build fix]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|