Jo-Philipp Wich
4de4827ddc
include: unbreak conffiles, postinst & prerm exports
...
Changeset r43017 reworked the ipkg control metadata generation but broke
the export of conffiles, postinst and prerm defines.
Change the code back to rely on shvar and shexport, this is required to
properly output multiline contents.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43041
10 years ago
Felix Fietkau
949ab1487f
build: only print skipped packages that were selected
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43023
10 years ago
Felix Fietkau
d8278dee4d
kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43022
10 years ago
Felix Fietkau
d081edf7eb
build: clean up and optimize ipkg control generator code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43017
10 years ago
Felix Fietkau
edc8e2022a
build: optimize printing of disabled packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43015
10 years ago
Felix Fietkau
c6ebce701e
build: propagate package conflicts to opkg metadata
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42771
10 years ago
John Crispin
44249f71a8
postinst trigger: the new postinst trigger broke IB
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42571
10 years ago
John Crispin
d6dbc22bbc
ipkg: add a default postinst/prerm script
...
the postinst script enables/starts the init.d scripts upon package installation
and installs the users required by the package.
the prerm script stops and disables the init.d scripts.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42470
10 years ago
John Crispin
285012d897
include: add a meta data field for required system user:group
...
this is in preparation of having services run as !root with
ACL'ed access to ubus.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42469
10 years ago
Jo-Philipp Wich
9aeb0cff11
build: fix removal of old .ipk files with CONFIG_PER_FEED_REPO
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42090
10 years ago
Jo-Philipp Wich
a720dd209f
build: introduce per feed repository support
...
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42002
10 years ago
Jo-Philipp Wich
28f44a4f91
include: remove SDK exception from package install targets
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41459
11 years ago
Felix Fietkau
623825103e
build: allow packages to declare ABI versions to detect necessary package rebuilds
...
If a package directly depends on another package that recently changed
its ABI version, it will be cleaned up and rebuilt (assuming quilt is
not used).
This helps with packages that have no stable ABI, e.g. libubox, ubus,
etc.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39720
11 years ago
Felix Fietkau
f85c00c2df
build: remove SourceFile and SourceURL from opkg metadata - they are useless without the corresponding openwrt package directory
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39038
11 years ago
Jonas Gorski
8e12b39d5d
build: print missing dependency error to stderr
...
Allow to see the actual error even when compiling with V=w/V=1 only.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 37388
12 years ago
Felix Fietkau
5d1c80f002
build: add required exports for dependency tracking
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37387
12 years ago
Felix Fietkau
6640b83a3e
build: add kernel modules to package provides info (along with shared libs)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37385
12 years ago
Jonas Gorski
a48b04e8dc
include/package-ipkg.mk: print warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35715
12 years ago
Felix Fietkau
de707ac97e
build: reduce the size of package metadata a bit to keep package list files smaller
...
SVN-Revision: 34871
12 years ago
Jo-Philipp Wich
d3e90ba7a7
buildroot: isolate the .install stamp files for build variants ( #12279 )
...
This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .
SVN-Revision: 34106
12 years ago
Hamish Guthrie
81a3d9ba31
licensing: Add licensing metadata to many packages Two new variables are introduces to many packages, namely PKG_LICENSE and PKG_LICENSE_FILES - there may be more than one license applied to packages, and these are listed in the PKG_LICENSE variable and separated by spaces. All relevant license files are also added to the PKG_LICENSE_FILES variable, also space separated.
...
The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!
SVN-Revision: 33861
12 years ago
Felix Fietkau
44cd20b802
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
...
SVN-Revision: 33631
12 years ago
Jo-Philipp Wich
ec770abd0d
package-ipkg.mk: flag packages as "ok" after install
...
By flagging compile-time-installed packages as "ok", they can be differentiated
from runtime-installed packages on the target later on.
SVN-Revision: 32739
13 years ago
Felix Fietkau
67e51f1787
include/package-ipkg.mk: fix copying provides list introduced in r32332
...
SVN-Revision: 32358
13 years ago
Jo-Philipp Wich
3b65557db8
package-ipkg.sh: copy the package provides list for all virtual PROVIDES
...
SVN-Revision: 32332
13 years ago
Felix Fietkau
6ca6d317b3
build: add checks for missing package dependencies
...
SVN-Revision: 32185
13 years ago
Felix Fietkau
031990cf95
build: generate a list of provided libraries for each ipkg file (includes provided libraries from packages that the exporting package depends on)
...
SVN-Revision: 32172
13 years ago
Nicolas Thill
6d6e379922
include/package-ipkg.mk: fix typo in r29449
...
SVN-Revision: 29497
13 years ago
Gabor Juhos
091894764b
include/package-ipkg.mk: don't add vi backup files to packages
...
Also remove trailing whitespaces.
SVN-Revision: 29449
13 years ago
Nicolas Thill
a930a79e08
include/package-ipkg.mk: fix typo
...
Fix a typo that caused packaging of an empty ./lib/upgrade/keep.d
directory when the package supplied conffiles
SVN-Revision: 28595
13 years ago
Felix Fietkau
8a0d981006
build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command
...
SVN-Revision: 26432
14 years ago
Felix Fietkau
f6a0d67e7c
build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450
...
SVN-Revision: 26431
14 years ago
Jo-Philipp Wich
dcb66b0593
deploy .ipk archives with --force-maintainer to ensure that configs are kept up-to-date in case they exist already for various reasons
...
SVN-Revision: 25915
14 years ago
Jo-Philipp Wich
bad3c4865d
set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
...
SVN-Revision: 25022
14 years ago
Jo-Philipp Wich
e09767beea
package-ipkg.mk: add support for "essential" package flag, fix typo
...
SVN-Revision: 23959
14 years ago
Michael Büsch
9d61a9b1c6
Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build.
...
SVN-Revision: 23709
14 years ago
Jo-Philipp Wich
f3a5085903
package-ipkg.mk: build sysupgrade keepfile hints out of conffiles not yet present in the package. This applies to config directories or files that do not exist but may be created by the user after package installation.
...
SVN-Revision: 23257
14 years ago
Jo-Philipp Wich
8ae1a4fc69
correct default package status info (install -> unknown) - fixes "opkg_conf_write_status_files: Internal error: package ... has a NULL dest"
...
SVN-Revision: 23222
14 years ago
Jo-Philipp Wich
cb4c39b55d
prime .ipk control files with Status: field to introduce hold for post flash installed packages
...
SVN-Revision: 23175
14 years ago
Jo-Philipp Wich
8b9ca16985
add support for flagging packages
...
SVN-Revision: 23172
14 years ago
Gabor Juhos
b5b21d03c4
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
...
SVN-Revision: 23166
14 years ago
Jo-Philipp Wich
9bb6f3b5f3
opkg: - implement --add-dest and --add-arch commandline options, this allows to run entirely without configuration - tweak default config location patch to not require a config in offline root mode - rename --force-run-hooks option to --force-postinstall, its a more appropriate name - utilize new opkg commandline options in package-ipkg.mk and remove config file generation
...
SVN-Revision: 23032
14 years ago
Jo-Philipp Wich
6cbd09df64
pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
...
SVN-Revision: 22990
14 years ago
Jo-Philipp Wich
b1edd2ac6e
opkg: add --force-run-hooks option to run postinstall scripts in offline root mode, utilize it for host package install
...
SVN-Revision: 22960
14 years ago
Jo-Philipp Wich
9d74fc3eb3
use opkg/host for package installation - speeds up rebuild operations - aligns generated package list format with the one created by opkg on the target - fixes broken dependency handling in imagebuilder
...
SVN-Revision: 22949
14 years ago
Felix Fietkau
d9e0d5705a
speed up the ipkg build process some more by reordering commands
...
SVN-Revision: 22722
14 years ago
Felix Fietkau
a9136c0892
speed up the build system by including include/shell.sh on shell commands only where necessary
...
SVN-Revision: 22720
14 years ago
Jo-Philipp Wich
e47a8a001c
revert r22372 and r22405, dependency on host libtool causes problems
...
SVN-Revision: 22406
15 years ago
Jo-Philipp Wich
8c1d9afc40
use host opkg for installing packages in buildroot and ImageBuilder
...
SVN-Revision: 22372
15 years ago
Hauke Mehrtens
3dd6909c20
Some dependencies that are depending on target are not added into the Depends line in the control file of the package. For example +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb does not result in kmod-ssb for the x86 target or any other target.
...
This fixes #6874
SVN-Revision: 20553
15 years ago