summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* vim: fetch via http instead of ftpChristian Hermann2019-06-201-1/+1
| | | | | Signed-off-by: Christian Hermann <christian.hermann@hytera.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* libpopt: add mirror URL (rpm5.org dead, use Gentoo as mirror)Andreas Pretzsch2019-06-201-1/+2
| | | | | | | | | | | | | | | | | rpm5.org seems to be gone for quite some time, or at least unreliable. The domain maps to dyn.com, and their nameservers don't know about it. Internet search shows this seems to be the case at least since May 2018, permanent or not. Therefore add a mirror URL, referring to Gentoo source archives: http://distfiles.gentoo.org/distfiles/popt-1.16.tar.gz Remark: Despite from 2010 (for the last 1.16 release), it still seems to be in use today by some packages. A grep over the ptxdist rules reveals "cryptsetup", "efibootmgr", "logrotate", "oprofile" and "samba". Signed-off-by: Andreas Pretzsch <apr@cn-eng.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* libdrm: version bump 2.4.97 -> 2.4.98Philipp Zabel2019-06-201-2/+2
| | | | | | | | This release adds a fallback to MODALIAS in drmDevice for platform devices lacking OF data, such as etnaviv. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* inetd services: don't use busybox's find in postinstRoland Hieber2019-06-207-14/+7
| | | | | | | | | | | | busybox's find doesn't understand '-empty', so when running these postinst scripts on a system without GNU coreutils, they will display a nice help text instead. Replace the find call with a test that tries to expand the same pattern that is used afterwards, so cat doesn't run with a non-matching pattern. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* templates: meson: wizard.sh: use neat parameter expansion and prevent word ↵Ulrich Ölmann2019-06-201-3/+3
| | | | | | | splitting Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-jimtcl: use '--prefix='Michael Olbrich2019-06-143-3/+3
| | | | | | | It's the correct for host packages. Without this, header files and libjim are not found by default. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-libftdi1: add new packageMichael Grzeschik2019-06-122-0/+32
| | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: error out for targetinstall stages in host/cross/image packagesRoland Hieber2019-06-122-0/+26
| | | | | | | | | | This point came up multiple times in the past and the special handling of targetinstall stages lead to confusion when trying to depend on image packages. Document it to prevent further confusion in that matter, and warn the user if such a make target exists. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: fix typosRoland Hieber2019-06-121-1/+1
| | | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: add line counterRoland Hieber2019-06-121-1/+4
| | | | | | | | | We cannot simply use NR for line counting because RS is changed in function dump_file. Add an extra variable to count lines, and reset it on each new file. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: ref_make_macros: improve language, typos and markupRoland Hieber2019-06-121-11/+7
| | | | | | | | | | | | | The literal blocks don't need to be code-blocks, as there is no code to be highlighted. Turn down the inline markup to make the text better readable. A technical term doesn't need to be emphasized every time it occurs. Use semantic newlines where applicable. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* doc: ref_make_macros: document the 'extract' macroRoland Hieber2019-06-121-0/+15
| | | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* pre/barebox: only use <PKG>_VERSION to build the URLRoland Hieber2019-06-122-2/+2
| | | | | | | | | | | | | | | | | | | | When adding another barebox package to a BSP, e.g. named barebox-foo, the BAREBOX_FOO variable will contain "barebox-foo-$(VERSION)". This variable is used to build BAREBOX_DIR, BAREBOX_SOURCE, and BAREBOX_FOO_URL. We must to keep the customized package postfix in the build directory, but in the latter case, the -foo postfix is transferred into the URL, which will lead to errors while downloading the source. We actually only need the barebox version to download the source tarball, so use a static "barebox-" string to build the barebox/url macro and also the BAREBOX_FOO_SOURCE variable in the package template, so the same tarball isn't downloaded multiple times with different names. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Update and sync autotools based package templatesJuergen Borleis2019-06-0811-167/+448
| | | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dbus: adapt run-time socket pathJuergen Borleis2019-06-081-0/+2
| | | | | | | | | | | | | | | 'dbus' defaults to '/var/run' to establish its socket and thus, 'systemd' complains: /usr/lib/systemd/system/dbus.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly. This change let the socket now defaults to '/run' instead. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* opkg: move opkg-database to a read-only locationJuergen Borleis2019-06-081-1/+6
| | | | | | | | | | | | | | | | | | The directory tree in '/var/lib' might not be persistent and thus, not in sync with the root filesystem. In this case it's required to store the opkg database at a location which has a fixed relation to the root filesystem's content it describes. This change moves the opkg's database to a read-only location in '/usr/share/opkg', which is then always in sync with the root filesystem's content. This changed opkg configuration works since commit a691341deb33077b9d5ede5fe349ee6b3fb99be1 "ptxd_make_image_extract_xpkg_files: use ptxd_get_alternative to find opkg.conf" Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* sysstat: adapt package's '/var/log' requirementsJuergen Borleis2019-06-081-0/+4
| | | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* systemd: adapt package's '/var/lib' and '/var/cache' requirementsJuergen Borleis2019-06-081-0/+5
| | | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* polkit: adapt package's '/var/lib' requirementsJuergen Borleis2019-06-081-2/+6
| | | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dnsmasq: clean up rule fileJuergen Borleis2019-06-081-3/+3
| | | | | | | The 'n' feature is autodetected in the meantime... Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dnsmasq: version bump 2.79 -> 2.80Juergen Borleis2019-06-085-58/+232
| | | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rootfs: '/var' is a mandatory directory according to FHSJuergen Borleis2019-06-084-17/+2
| | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* rootfs: keep '/var/tmp' permissions in sync with 'systemd'Juergen Borleis2019-06-081-1/+1
| | | | | | | This avoids 'systemd' warnings at run-time if a read-only filesystem is in use. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* wrapper: some cleanupMichael Olbrich2019-06-061-7/+10
| | | | | | | Add variables for the filename and full path of the command that will be executed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* meson: fix rpath hackMichael Olbrich2019-06-061-3/+13
| | | | | | | | | | Without this meson may add '-W,-rpath,' to the command-line. gcc passes this as "'-rpath' ''" to ld, so it still works. However, clang skips the empty argument, so ld interprets the next argument as the path for -rpath. Fix this by not adding -W,-rpath if no paths exist. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: fix autoversion ptxconfig handlingMichael Olbrich2019-06-061-1/+3
| | | | | | | | | | | | | | | | | | The autoversion was changed to pick the version from the bottom layer. This is accomplished by temporarily using the ptxconfig from that layer. If the version is already correct, then no new ptxdist is executed. As a result, the ptxconfig from the bottom layer is used. This fails with: ptxdist: error: The selected config file: ptxdist: error: BSP/base/configs/ptxconfig ptxdist: error: is overwritten by: ptxdist: error: BSP/configs/ptxconfig ptxdist: error: The config file in the outer layer must be used! Fix this by switching back to the correct ptxconfig after fetching the version from the config. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* sepolgen: move to stagingJuergen Borleis2019-06-052-1/+7
| | | | | | | | Old version that needs to be updated. Signed-off-by: Juergen Borleis <juergen@kreuzholzen.de> [mol: add staging dependency to policycoreutils] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_*: allow ninja generator for cmakeMichael Olbrich2019-06-053-22/+40
| | | | | | | | | cmake can be used with 'make' and 'ninja'. Currently only 'make' is supported. This introduces a check to determine which generator is selected and calls the corresponding tool in the compile and install stages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* templates: src-meson-prog: introduce version into template projectUlrich Ölmann2019-06-055-3/+13
| | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* templates: add src-meson-prog templateUlrich Ölmann2019-06-059-7/+182
| | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* templates: wizard.sh: use only one sed processUlrich Ölmann2019-06-058-19/+19
| | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* templates: wizard.sh: use neat parameter expansion and prevent word splittingUlrich Ölmann2019-06-058-33/+33
| | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* templates: wizard.sh: remove unused variableUlrich Ölmann2019-06-058-16/+0
| | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rootfs_configfiles: remove a useless fileJuergen Borleis2019-06-051-0/+0
| | | | | | | | | | | This file was drained but not removed in 2009 by change 2e878658a02ca4651673cad2f41a57f27557d6dc "init: introduce infrastructure for multiple init methods" It's not used since then and thus can be removed entirely. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* tpm2-tools: new packageMarc Kleine-Budde2019-06-052-0/+118
| | | | | | | | | | | | | Co-authored-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Co-authored-by: Michael Olbrich <m.olbrich@pengutronix.de> Co-authored-by: Jan Luebbe <jlu@pengutronix.de> Co-authored-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* tpm2-abrmd: new packageMarc Kleine-Budde2019-06-053-0/+114
| | | | | | | | | | | | | Co-authored-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Co-authored-by: Sascha Hauer <s.hauer@pengutronix.de> Co-authored-by: Jan Luebbe <jlu@pengutronix.de> Co-authored-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* tpm2-tss: new packageMarc Kleine-Budde2019-06-053-0/+115
| | | | | | | | | | | | | Co-authored-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Co-authored-by: Jan Luebbe <jlu@pengutronix.de> Co-authored-by: Bastian Krause <bst@pengutronix.de> Co-authored-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Bastian Krause <bst@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* tpm: add new menuMarc Kleine-Budde2019-06-051-0/+5
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rootfs: add tpm user and groupRoland Hieber2019-06-052-0/+2
| | | | | | | Allow the TPM services to run as an unprivileged user. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* host-autotools-autoconf-archive: new packageMarc Kleine-Budde2019-06-052-0/+53
| | | | | | | Co-authored-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* paho-mqtt-cpp: new packageMarc Kleine-Budde2019-06-052-0/+71
| | | | | | | Co-authored-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* paho-mqtt-c: new packageMarc Kleine-Budde2019-06-052-0/+74
| | | | | | | Co-authored-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* minicoredumper: enable and configure minicoredumperJan Luebbe2019-06-054-0/+37
| | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* yajl: improve kconfig help textMarc Kleine-Budde2019-06-051-1/+5
| | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rsync: add "rsync over ssh" featureJuergen Borleis2019-06-051-2/+5
| | | | | | | | Make run-time dependency to package 'ssh' configurable Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* qt5: add check to ensure that QtWebengine can be compiledMichael Olbrich2019-06-051-0/+10
| | | | | | | | | If the 32bit host g++ is missing, the QtWebengine is disabled and building fails in targetinstall. Add an explict check to abort early and provide a hint for how to fix the problem. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_hash: print correct commentMichael Olbrich2019-06-051-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: fix dependencies with --progressMichael Olbrich2019-06-051-2/+3
| | | | | | | | | | With --progress, 'make' is called twice so extra handling is needed to only add the patches and config files to the hash files once. This is broken for packages with patches but no config file: The stamp file is never created. Fix this by creating separate stamp files. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Definitions: modify escaping $ in ptx/escapeMichael Olbrich2019-06-042-7/+3
| | | | | | | | | | | | Until now, $ was escaped with \\. This is not very useful, because the $ is not actually escaped if the resulting string is passed to a shell. Some packages add a extra \ to escape the $. However, this results in a \ in the shell that is not always acceptable. Escape the $ with just one \ instead. All affected code in ptxdist is modified as needed, but changes may be needed in BSP local rules. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* fbgrab: use CROSS_PKG_CONFIG directlyMichael Olbrich2019-06-041-1/+1
| | | | | | | There is no need to look in CROSS_ENV for the name of the cross pkg-config binary. This avoids passing '$' in the shell command-line. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>