Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | src/install.sh: Define functions before references | Patrick McDermott | 2019-04-25 | 1 | -109/+109 |
| | |||||
* | src/install.sh: Shift func args, update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+9 |
| | |||||
* | src/feed.sh: Shift func args, update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+5 |
| | |||||
* | fopen(), fclose(): Replace echo, improve eval safety | Patrick McDermott | 2019-04-25 | 1 | -4/+5 |
| | |||||
* | src/fd.sh: Shift func args and update copyright | Patrick McDermott | 2019-04-25 | 1 | -1/+3 |
| | |||||
* | dir_is_empty(): Move shift and remove duplicate pattern | Patrick McDermott | 2019-04-25 | 1 | -3/+3 |
| | | | | Also update copyright notice. | ||||
* | src/deps.sh: Shift function arguments | Patrick McDermott | 2019-04-25 | 1 | -1/+4 |
| | | | | Also update copyright notice. | ||||
* | src/control.sh: Update copyright notice | Patrick McDermott | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | run_cmd(): Make "set -e"-safe | Patrick McDermott | 2019-04-25 | 1 | -2/+2 |
| | |||||
* | is_cmd(): Drop dead return | Patrick McDermott | 2019-04-25 | 1 | -2/+0 |
| | |||||
* | parse_control(): Fix/improve missing fields handling | Patrick McDermott | 2019-04-24 | 1 | -5/+12 |
| | |||||
* | parse_control(): Protect cat cmd from operands beginning with "-" | Patrick McDermott | 2019-04-24 | 1 | -1/+1 |
| | |||||
* | parse_control(): Drop field callback dead code | Patrick McDermott | 2019-04-23 | 1 | -6/+0 |
| | | | | | | The callback function is already called in the paragraph case in the loop, which also resets the field name to the null string, making this final callback code unreachable. | ||||
* | parse_control(): Rewrite field checking | Patrick McDermott | 2019-04-23 | 1 | -19/+16 |
| | | | | | | | | Get rid of the printf and grep pipeline and use a case construct instead of a "[" command with a "${parameter%word}" expansion. Also drop the unused check_fields variable, just added in commit 1e585cb. | ||||
* | package_2_*(): Drop empty req_fields parse_control() args | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | parse_control(): Make req_fields arg optional | Patrick McDermott | 2019-04-23 | 1 | -1/+10 |
| | |||||
* | parse_control(): Convert to [ -n and -z operators | Patrick McDermott | 2019-04-23 | 1 | -7/+7 |
| | |||||
* | ob_parse_control(): Replace param prefix/suffix removals with read | Patrick McDermott | 2019-04-23 | 1 | -5/+4 |
| | |||||
* | ob_parse_control(): Replace if construct with case | Patrick McDermott | 2019-04-23 | 1 | -61/+71 |
| | |||||
* | parse_control(): Fix params | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | _parse_control_error(): Reformat file info | Patrick McDermott | 2019-04-23 | 1 | -3/+3 |
| | |||||
* | parse_control_error(): Make "static" | Patrick McDermott | 2019-04-23 | 1 | -5/+5 |
| | |||||
* | parse_control_error(): Move before use | Patrick McDermott | 2019-04-23 | 1 | -19/+19 |
| | |||||
* | parse_control_error(): Accept file and line_nr args | Patrick McDermott | 2019-04-23 | 1 | -17/+19 |
| | |||||
* | substvars(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 1 | -2/+23 |
| | |||||
* | set_substvar(): Sync with opkbuild | Patrick McDermott | 2019-04-23 | 1 | -22/+19 |
| | |||||
* | substvars_max_depth: Convert to upper case | Patrick McDermott | 2019-04-23 | 1 | -2/+2 |
| | |||||
* | src/archplat.sh: Sync with opkbuild | Patrick McDermott | 2019-04-22 | 1 | -67/+68 |
| | | | | | | | | | | | | 4c912ce _ob_match_plat(): Move closer to usage 787a355 _ob_match_plat(): Remove loop ee0c303 _ob_match_arch(): Remove loop 85d78aa ob_match_*(): Make private 1e8d84e ob_match_*(): Drop checks for "all" match arch/plat bb7dd8e ob_match_plat(): Use clearer variable names e6b04d9 Protect [ commands from strings beginning with "-" 9196698 ob_match_arch(): Use clearer variable names 5e69b33 ob_match_arch(): Replace generated ERE with native SCL | ||||
* | Add braces to param exps in arith substs | Patrick McDermott | 2019-04-19 | 12 | -14/+14 |
| | |||||
* | install_find_pkgs(): Use profile_opkg_conf_file() | Patrick McDermott | 2019-04-19 | 1 | -1/+1 |
| | |||||
* | install_*_pkgs(): Use profile_opkg_state_dir() | Patrick McDermott | 2019-04-19 | 1 | -10/+15 |
| | |||||
* | profile_opkg_state_dir(), profile_opkg_conf_file(): New functions | Patrick McDermott | 2019-04-19 | 2 | -4/+17 |
| | |||||
* | profile: Generate abstraction layer at run time | Patrick McDermott | 2019-04-19 | 1 | -141/+7 |
| | |||||
* | install_get_pkgs(): Use ${MD5SUM} | Patrick McDermott | 2019-04-19 | 1 | -1/+1 |
| | |||||
* | install_find_pkgs(): Enable sig checks in opkg.conf | Patrick McDermott | 2019-04-17 | 1 | -0/+1 |
| | |||||
* | feed_find_pkgs(): Don't run parse_control() in a subshell | Patrick McDermott | 2019-04-17 | 1 | -2/+4 |
| | | | | Fixes a bug introduced in commit 2e8da12. | ||||
* | install_find_pkgs(): Vertically align case construct | Patrick McDermott | 2019-04-16 | 1 | -2/+2 |
| | |||||
* | feed_download(): Check for errors | Patrick McDermott | 2019-04-16 | 1 | -1/+8 |
| | |||||
* | install_find_pkgs(): Create /var/cache/opkg/ | Patrick McDermott | 2019-04-16 | 1 | -1/+1 |
| | | | | Needed by opkg-cert for last-cert-check file. | ||||
* | feed_download_cert(): Fix use of non-existent tmp | Patrick McDermott | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | install_find_pkgs(): Fix cert file printf | Patrick McDermott | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | feed_download_cert(): Fix in-place opkg-cert | Patrick McDermott | 2019-04-16 | 1 | -1/+7 |
| | |||||
* | install_find_pkgs(): Fix "printf: Illegal option --" | Patrick McDermott | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | install_find_pkgs(): Fix fopen() call | Patrick McDermott | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | install_find_pkgs(): Fix line continuation | Patrick McDermott | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | feed_download*(): Accept root arg | Patrick McDermott | 2019-04-16 | 2 | -1/+3 |
| | |||||
* | install_find_pkgs(): Install root key | Patrick McDermott | 2019-04-16 | 1 | -1/+30 |
| | |||||
* | install_find_pkgs(): Initialize cert and check sig | Patrick McDermott | 2019-04-16 | 1 | -2/+25 |
| | |||||
* | feed_download_cert(): New function | Patrick McDermott | 2019-04-16 | 1 | -0/+42 |
| | |||||
* | feed_download(): Fix gunzip logic | Patrick McDermott | 2019-04-16 | 1 | -4/+4 |
| |