68 Commits (9fbbd04f45a359b5efa0993c937d8aad92af185e)

Author SHA1 Message Date
Felix Fietkau 623825103e build: allow packages to declare ABI versions to detect necessary package rebuilds 11 years ago
Felix Fietkau f85c00c2df build: remove SourceFile and SourceURL from opkg metadata - they are useless without the corresponding openwrt package directory 11 years ago
Jonas Gorski 8e12b39d5d build: print missing dependency error to stderr 11 years ago
Felix Fietkau 5d1c80f002 build: add required exports for dependency tracking 11 years ago
Felix Fietkau 6640b83a3e build: add kernel modules to package provides info (along with shared libs) 11 years ago
Jonas Gorski a48b04e8dc include/package-ipkg.mk: print warnings/errors to stderr 12 years ago
Felix Fietkau de707ac97e build: reduce the size of package metadata a bit to keep package list files smaller 12 years ago
Jo-Philipp Wich d3e90ba7a7 buildroot: isolate the .install stamp files for build variants (#12279) 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. 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 12 years ago
Jo-Philipp Wich ec770abd0d package-ipkg.mk: flag packages as "ok" after install 13 years ago
Felix Fietkau 67e51f1787 include/package-ipkg.mk: fix copying provides list introduced in r32332 13 years ago
Jo-Philipp Wich 3b65557db8 package-ipkg.sh: copy the package provides list for all virtual PROVIDES 13 years ago
Felix Fietkau 6ca6d317b3 build: add checks for missing package dependencies 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) 13 years ago
Nicolas Thill 6d6e379922 include/package-ipkg.mk: fix typo in r29449 13 years ago
Gabor Juhos 091894764b include/package-ipkg.mk: don't add vi backup files to packages 13 years ago
Nicolas Thill a930a79e08 include/package-ipkg.mk: fix typo 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 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 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 14 years ago
Jo-Philipp Wich bad3c4865d set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on 14 years ago
Jo-Philipp Wich e09767beea package-ipkg.mk: add support for "essential" package flag, fix typo 14 years ago
Michael Büsch 9d61a9b1c6 Lock copying to STAGING_DIR_ROOT. This fixes build failures for parallelized build. 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. 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" 14 years ago
Jo-Philipp Wich cb4c39b55d prime .ipk control files with Status: field to introduce hold for post flash installed packages 14 years ago
Jo-Philipp Wich 8b9ca16985 add support for flagging packages 14 years ago
Gabor Juhos b5b21d03c4 package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined 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 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 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 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 14 years ago
Felix Fietkau d9e0d5705a speed up the ipkg build process some more by reordering commands 14 years ago
Felix Fietkau a9136c0892 speed up the build system by including include/shell.sh on shell commands only where necessary 14 years ago
Jo-Philipp Wich e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems 15 years ago
Jo-Philipp Wich 8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder 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. 15 years ago
Felix Fietkau f1da5431bb build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package) 15 years ago
Felix Fietkau c4b197737e do not fail on empty packages 15 years ago
Felix Fietkau d1f1ff5759 get rid of old data before staging unstripped package binaries 15 years ago
Felix Fietkau e6ceb1cace build: when staging unstripped package files, install them to a temporary directory first to work around file overwrite issues in packages like asterisk 15 years ago
Felix Fietkau 822615cb6b merge the control file and the .ipk file targets into one to prevent them from going out of sync 15 years ago
Felix Fietkau 59d130d867 fix multiple ipkg builds of the same arch but with different targets in the same checkout 15 years ago
Felix Fietkau 2bb863f337 when regenerating an ipkg package, make sure the entire ipkg build dir is cleaned as well to prevent stale files from making it into the package after configuration changes 15 years ago
Florian Fainelli 7f36797bb7 ensure CONTROL directory is created (#5683) 15 years ago
Felix Fietkau b0bf5fd9a0 add target for library specific installations into the root staging dir, fix ipkg build dependency on the package build stamp 15 years ago
Felix Fietkau 4169a2e834 add a staging directory for unstripped package files, useful for debugging, will be used for mklibs integration later 15 years ago
Nicolas Thill 1be5092692 move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg 16 years ago
Nicolas Thill 0bbd70070f add an "Installed-Size" field to package control files, so that opkg could check needed vs. available storage space before installing a package 16 years ago