aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
Commit message (Collapse)AuthorAgeFilesLines
* uci: bump to git HEAD versionHans Dedecker2017-10-041-3/+3
| | | | | | 5ad59ad Add bitfield_set function from libubox Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* procd: use LN macroHans Dedecker2017-10-031-1/+1
| | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* procd: Install seccomp-trace symlinkMichal Sojka2017-09-281-0/+1
| | | | Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
* procd: update to latest git HEADJohn Crispin2017-09-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | ee582d1 instance: properly compare and reload respawn config 260a4cd utrace: Start the tracee only after uloop initialization 520ad3c utrace: Switch all logging to ulog 1c48104 utrace: Support non-contiguous syscall numbers 582cf97 utrace: Forward SIGTERM to the traced process 32534f7 utrace: Report ptrace errors ccde3fb seccomp: Improve error message 7f9b174 preload-seccomp: Use proper log level for error messages e3c4302 Start seccomp-enabled services via seccomp-trace 5e4ad02 seccomp: Log seccomp violations with utrace 2661b2f utrace: Use PTHREAD_SEIZE instead of PTHREAD_TRACEME b5d53c6 utrace: Deliver signals to traced processes b416ed9 utrace: Support tracing multi-threaded processes and vfork 8b7d47a utrace: Trace processes across forks c6b6ec6 utrace: Sort syscalls by number of invocations 592c532 Update trace attribute c8faedc Do not disable seccomp when configuration is not found 017f3a1 utrace: Fix off-by-one errors 5acaf15 utrace: Fix environment initialization Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to git HEAD versionHans Dedecker2017-09-011-3/+3
| | | | | | | | | | | | | | b1bc8d5 kmodloader: log error message in case of out of memory f346111 kmodloader: lift restriction on module alias info f1ef2c3 kmodloader: fix possible segfaults 9cb63df kmodloader: fix endianess check 2cff779 kmodloader: Check module endian before loading d54f38a kmodloader/get_module_info: initialized aliases to make it more clean a0b6fef kmodloader: insmod: fix a memoryleak in error case 278c4c4 kmodloader/get_module_name: null-terminate the string 16f7e16 syslog: remove unnecessary sizeof struct between messages Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* procd: mdns: Support txt values with spacesKarl Palsson2017-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Properly quote the arguments so that you can register a service with TXT entries that contains spaces. Example: procd_add_mdns myservice tcp 9999 "key=descriptive text field 1" \ "another=something equally verbose" Output before: $ avahi-browse -r -v _myservice._tcp _myservice._tcp local hostname = [blah.local] address = [192.168.255.74] port = [9999] txt = ["verbose" "equally" "another=something" "1" "field" "text" "key=descriptive"] Output now: $ avahi-browse -r -v _myservice._tcp _myservice._tcp local hostname = [blah.local] address = [192.168.255.74] port = [9999] txt = ["another=something equally verbose" "key=descriptive text field 1"] Signed-off-by: Karl Palsson <karlp@etactica.com>
* procd: update to latest git HEADJohn Crispin2017-08-221-3/+3
| | | | | | 54b46a3 procd: send ubus notify when a config file has changed Signed-off-by: John Crispin <john@phrozen.org>
* ca-certificates: Update to 20170717Christian Schoenebeck2017-08-181-4/+4
| | | | | | Update to 20170717 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* procd: fix hotplug.json syntaxFlorian Eckert2017-08-181-15/+11
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* procd: fix hotplug-preinit.json syntaxFlorian Eckert2017-08-181-4/+4
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* procd: update to the latest git HEADHans Dedecker2017-08-081-3/+3
| | | | | | a17e1e8 watchdog: fix inline watchdog_get_magicclose function prototype Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* procd: update to latest git HEADJohn Crispin2017-07-311-3/+3
| | | | | | f062b30 procd: Do not leak pipe file descriptors to children Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2017-07-311-3/+3
| | | | | | 8ab4fda fstools: add btrfs support Signed-off-by: John Crispin <john@phrozen.org>
* opkg: bump to version 2017-07-28Jo-Philipp Wich2017-07-281-3/+3
| | | | | | | | | | Commits since last 2017-07-11: 4bd8601 pkg_parse: fix segfault when parsing descriptions with leading newlines Fixes FS#933. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* procd: update to latest versionMatthias Schiffer2017-07-201-4/+4
| | | | | | | | | | 17026f4 system: return ubus error when sysupgrade_exec_upgraded() has failed 13f252f upgraded: Check chroot() return value 85ccb95 init: Check chroot return value in sysupgrade_exec_upgraded() 76dcbee upgraded: improve error handling d749b2a upgraded: register stage2 process in uloop as intended Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: update to latestDaniel Golle2017-07-161-4/+4
| | | | | | | 0dfe61a block: support /dev/xvd* nodes f038a61 libfstools: fix matching device name Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* opkg: bump to version 2017-07-11Yousong Zhou2017-07-121-3/+3
| | | | | | | | | Commits since last 2017-05-03 52fc006 pkg_alternatives: pass if the desired symlink already exists c668fce opkg: add --no-check-certificate argument Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* uci: update to the latest versionHans Dedecker2017-07-111-3/+3
| | | | | | | | | | | | | | c4df32b file: remove redundant NULL check on return value of uci_realloc() 5d08b7f build: fix BUILD_STATIC 49ec6ef Fix skipping directories in uci_list_config_files c203c2f Revert "mandatory anonymous section identifier" 0a1a2fc uci/lua: add explicit close() method 7daf942 uci/lua: add list_configs() function fe45f97 test: adjust for auto-naming anonymous sections 2eb9c09 cli: remove now-defunct UCI_FLAG_EXPORT_NAME support df72af4 mandatory anonymous section identifier Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* procd: support term_timeout parameterJo-Philipp Wich2017-06-262-2/+2
| | | | | | | | | Expose "term_timeout" parameter in procd.sh to allow init scripts to request a longer termination timeout. This is required to fix FS#859 in a later commit. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* procd: assign /dev/tty* nodes to "tty" groupJo-Philipp Wich2017-06-262-1/+5
| | | | | | | | Adjust default permissions and ownership of /dev/tty* nodes from 0600/root:root to 0660/root:tty in order to support granting unprivileged user access when needed. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ca-certificates: Update to version 20161130+nmu1Christian Schoenebeck2017-06-241-3/+3
| | | | Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* procd: update to latest versionHans Dedecker2017-06-231-3/+3
| | | | | | e5e99c4 watchdog: add support for starting/stopping kernel watchdog Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* procd: update to latest git HEADDaniel Golle2017-06-191-3/+3
| | | | | | | | | | | 453116e system: introduce new attribute board_name e5b963a preinit: define _GNU_SOURCE e5ff8ca upgraded: cmake: Find and include uloop.h f367ec6 hotplug: fix a memory leak in handle_button_complete() 796ba3b service/service_stopped(): fix a use-after-free 79bbe6d system: return legacy board name Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* procd: update to latest git HEADMatthias Schiffer2017-05-301-3/+3
| | | | | | e7bb2c8 upgraded: define __GNU_SOURCE Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: snapshot: handle jffs2 conversion using upgradedMatthias Schiffer2017-05-292-7/+9
| | | | | | | We can reuse the kill_remaining and run_ramfs facilities of the stage2 run by upgraded. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: clean up trailing whitespace in snapshot scriptMatthias Schiffer2017-05-291-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* procd: remove procd-nand packageMatthias Schiffer2017-05-293-435/+3
| | | | | | | | | | | We always want to support staged upgrades now, so it's better to include upgraded into the main package. /lib/upgrade/nand.sh is moved to base-files. The procd-nand-firstboot package is removed for now, it may return later as a separate package. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* procd: update to latest git HEADMatthias Schiffer2017-05-291-3/+3
| | | | | | | | | | | | | | | | 992b796 rcS: add missing fcntl.h include 63789e5 init: add support for sysupgrades triggered from preinit 5b1fb35 Remove code that has become unnecessary after sysupgrade changes 5918b6d upgraded: add support for passing a "command" argument to stage2 056d8dd upgraded: link dynamically, chroot during exec 7c6cf55 system: always support staged sysupgrade d42b21e procd/rcS: Use /dev/null as stdin e0098d4 service/instance: add an auto start option 1247db1 procd: Log initscript output prefixed with script name 8d720b2 procd: Don't use syslog before its initialization 2555474 procd: Add missing \n in debug message Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* procd: prepare NAND sysupgrade for making upgraded dynamically linkedMatthias Schiffer2017-05-291-2/+3
| | | | | | | | Use install_bin to copy upgraded with all dependencies. The old name /tmp/upgraded is temporarily retained as a symlink to avoid breaking things. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* procd: clean up trailing whitespace in nand.shMatthias Schiffer2017-05-291-2/+2
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: update to the latest versionFelix Fietkau2017-05-221-3/+3
| | | | | | | | | 88d48d5 libfstools: silence mkfs.{ext4,f2fs} a19f2b3 build: disable the format-truncation warning error to fix gcc 7 build errors 633a8d0 libfstools: fix multiple volume_identify usages with the same volume c43ae11 fstools: use -Wno-format-truncation instead of -Wno-error=format-truncation Signed-off-by: Felix Fietkau <nbd@nbd.name>
* opkg: alternatives: use ERROR level for symlink failureYousong Zhou2017-05-031-3/+3
| | | | | | | | Changes since last version 04e279e pkg_alternatives: use ERROR level for symlink failure Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* opkg: alternatives supportYousong Zhou2017-05-021-4/+4
| | | | | | | | | | Changes since last version 546bc72 pkg: alternatives support 7a96972 libbb: xreadlink: fix memory leak on failure case 3f13edd pkg_run_script: use pkg->dest in half installed case Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* opkg: backport upstream fixes, code cleanupsJo-Philipp Wich2017-04-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to latest Git in order to import the following fixes: 1d0263b check_data_file_clashes_change: remove duplicated offline root in paths a00a6a9 buildReplaces: do not add duplicated replacees 9fbedd8 opkg: compare-versions doesn't need any state 45b54f6 opkg_cmd: fix segmentation fault in opkg_compare_versions_cmd() 93de62b opkg_cmd: fix return of opkg compare-versions 51275a8 pkg_src_list_push: remove unused function 947d3d4 pkg_src_list_pop: remove unused function 980cfb2 str_list_push: remove unused function 52c31c1 str_list_prev: remove unused function 7d24212 str_list_last: remove unused function 48142a3 conffile_list_pop: remove unused function 46c5de5 pkg_dest_list_push: remove unused functions 368bb62 nv_pair_list_prev: remove unused function 2985c00 nv_pair_list_last: remove unused function f5082ac conffile_list_pop: remove unused function 89bf8b9 conffile_list_push: remove unused function 23d31fb active_list_sort: remove unused function 7fe45f2 active_list_add_depend: remove unused function 86b584d pkg_dependence_satisfied: remove unused function 816d330 Fix typo in pkg_hash_fetch_best_installation_candidate. 07f3b02 set_flags_from_control: remove function Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: move PKG_CONFIG_DEPENDS from feeds.mk to opkgFelix Fietkau2017-04-031-1/+8
| | | | | | | Normal packages don't rely on the feed configuration variables for the build step Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: update to latest git HEADJohn Crispin2017-03-291-3/+3
| | | | | | | 20c16fc cmake: Make blockd link against libjson-c 92b4c2c libfstools: add basic documentation of mount functions Signed-off-by: John Crispin <john@phrozen.org>
* procd: nand: make it possible to configure kernel and ubi partitionChristian Lamparter2017-03-221-2/+2
| | | | | | | | | | With this patch, the nand.sh script no longer overwrites CI_KERNELPART and CI_UBIPART if they have been set before. This allows platforms specify alternative values for these variables. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* opkg: gracefully handle missing $PATH, fix build warningsJo-Philipp Wich2017-03-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | Update to latest Git in order to import the following fixes: cfe46c7 opkg_active_list_test: mark functions static, swap strcmp() with memcmp() 0b60d6a libopkg_test: mark functions static, remove unused opkg_test() 28b5e15 pkg_parse: fix bad message level for opkg_msg() call d9e5814 pkg_parse: remove unused variable in pkg_parse_line() 1654bcc pkg_parse: remove const requirement from pkg_parse_line() 53e199e pkg_hash: remove unused variable in pkg_hash_load_feeds() da8d599 pkg_depends: add missing parse_replacelist() prototype f0c0a80 opkg_utils: add missing header e450488 libopkg: remove unused progress parameters from opkg_download() f4a55d1 libopkg: remove unused progress callback 7cbc466 libopkg: remove unused variable from opkg_install_package() 6fbf8a9 libbb: remove unused variables 7975c73 libbb: change gzip_read() buffer argument to void * 6e28563 libbb: fix gzip_thread() warnings 1ff2475 libopkg/opkg_cmd.c: more robust PATH handling 5dc3e33 libopkg: specify "/bin/sh" instead of "sh" Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* procd.sh: use parameterized respawn valuesClaudiu Brasovean2017-03-071-1/+3
| | | | | | | | | | continue work started here: http://patchwork.ozlabs.org/patch/520859 Extend /etc/config/system with parameters to set the default respawn treshold and respawn timeout for procd launched services that have respawn enabled. This results in cleaner init scripts, while making sure services have respawn parameters set. Signed-off-by: Claudiu Brasovean <cbrasho@gmail.com>
* procd: update to git HEAD versionHans Dedecker2017-03-061-3/+3
| | | | | | | 8f218f5 procd: service gets deleted when its last instance is freed 35209a0 procd: update modprobe path Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* opkg: fix several package installation bugsJo-Philipp Wich2017-03-061-3/+3
| | | | | | | | | | | | | | | Update to latest Git in order to import the following fixes: 19070b6 unarchive: fix possible segmentation fault in deb_extract() 758527e pkg: forward "provided_by_hand" flag in pkg_merge() 1fdc2ca pkg: mark bit fields in pkg_t unsigned 15fc1ee opkg_cmd: avoid null pointer dereference in opkg_what_depends_conflicts_cmd() 439c89e opkg_cmd: fix endless loop in whatprovides/whatreplaces 0fb3e9f pkg_depends: propagate virtual provided detail flag to providers 793155f pkg_depends: fix unsatisfied dependency installation order b1dc770 libopkg: fix some overly aggressive line wrapping in pkg_depends.c Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* fstools: add blockdJohn Crispin2017-03-062-3/+38
| | | | | | this daemon replaces mountd. Signed-off-by: John Crispin <john@phrozen.org>
* mountd: drop in favour of blockdJohn Crispin2017-03-063-70/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: update to the latest versionFelix Fietkau2017-03-031-3/+3
| | | | | | 21a4bd0 kmodloader: modprobe: return 0 for loaded modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* opkg: mark as essential (FS#571)Jo-Philipp Wich2017-03-011-0/+1
| | | | | | Flag the opkg package as essential to avoid accidential uninstalls of it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ubus: update to the latest versionFelix Fietkau2017-02-251-3/+3
| | | | | | | | | | c09e4f0 ubusd: fix incomplete copy of shared buf during queue-ing 453b87f cli: add support for subscribing to objects 6eb3c96 cli: do not use default timeout for listen dfe3383 libubus: reset ctx->sock.error when doing ubus reconnect 34c6e81 cli: fix listen_timeout compile issue Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: fix possible address alignment issueYousong Zhou2017-02-241-3/+3
| | | | | | | | Fixes FS#544 3dc78a4 kmodloader: don't store aliases info in struct module Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* opkg: fix stray printf() (#551)Jo-Philipp Wich2017-02-231-3/+3
| | | | | | | Update to latest Git head to get rid of a stray printf() causing unwanted output in the "opkg list-upgradable" command. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* opkg: fix handling conffiles in status listsJo-Philipp Wich2017-02-221-3/+3
| | | | | | | A missing list pointer initialization caused opkg to ignore conffile entries from status files, breaking the conffile tracking on the target. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ubox: update to the latest versionFelix Fietkau2017-02-211-3/+3
| | | | | | | | c553354 cmake: fix typo 8973576 kmodloader: fix not being able to find some modules fce9382 cmake: Check for getrandom system call Signed-off-by: Felix Fietkau <nbd@nbd.name>