Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | is_debug: Refine KCL regexHEADmaster | Simon Rettberg | 2024-03-01 | 1 | -1/+1 |
| | |||||
* | [is] Add is_debug: Check whether system is running in debug mode | Simon Rettberg | 2024-02-08 | 1 | -0/+26 |
| | | | | See $SLX_DEBUG in docs. | ||||
* | [dev] Make some of the debug messages depend on $SLX_DEBUG | Simon Rettberg | 2024-02-08 | 1 | -9/+9 |
| | |||||
* | [dev] find_partitions: Limit search to /dev, no subdirs | Simon Rettberg | 2024-01-30 | 1 | -1/+1 |
| | |||||
* | [dev] Fix ro path expression | Simon Rettberg | 2024-01-30 | 1 | -1/+1 |
| | |||||
* | [dev] find_partitions: Add --rw option to skip scanning ro devices | Simon Rettberg | 2024-01-29 | 1 | -1/+8 |
| | |||||
* | [is] New module | Simon Rettberg | 2023-07-06 | 1 | -0/+6 |
| | |||||
* | [dev] Support >= 10 partitions | Simon Rettberg | 2022-10-19 | 1 | -3/+5 |
| | |||||
* | [dev] Fix missing instance where we need to check for 0f | Simon Rettberg | 2022-10-18 | 1 | -1/+2 |
| | |||||
* | [dev] Add dev_swap_version: Returns version number of a swap partition | Simon Rettberg | 2022-07-25 | 1 | -0/+21 |
| | |||||
* | [download] Increase default retry timeout, add --slx-time optionv29r2 | Simon Rettberg | 2022-05-23 | 1 | -9/+17 |
| | |||||
* | [dev] dev_find_partitions: Workaround for missing PARTN/NAME on CentOS 7 | Simon Rettberg | 2022-04-20 | 1 | -1/+15 |
| | | | | This is quick and dirty and only properly handles ASCII partition labels | ||||
* | [download] fix {x..y} not supported in ashv29r1 | Jonathan Bauer | 2021-09-23 | 1 | -1/+1 |
| | |||||
* | [download] manual retry loop instead of --retry | Jonathan Bauer | 2021-09-17 | 1 | -1/+9 |
| | | | | | | | on some specific errors, curl just ignores --retry and just instantly fail. The new curl option '--retry-all-errors' is only supported starting with version 7.71.0 which is not yet in Ubuntu 20.04. We should probably change to that new option when the base system supports it. | ||||
* | [dev] Silence some harmless errors/warnings | Simon Rettberg | 2021-07-26 | 1 | -7/+7 |
| | |||||
* | dev: Workaround for trailing spaces in busybox xxd output | Simon Rettberg | 2021-07-22 | 1 | -2/+2 |
| | |||||
* | [dev] Add support for xxd without -e | Simon Rettberg | 2021-07-02 | 1 | -0/+2 |
| | |||||
* | [dev] dev_get_type = 0f is an extended partition too... | Simon Rettberg | 2021-06-18 | 1 | -2/+5 |
| | |||||
* | [dev] dev_find_paritions: Add debug output, better hex2bin support | Simon Rettberg | 2021-06-18 | 1 | -6/+59 |
| | |||||
* | [fs/path] Use bc for mathv28 | Simon Rettberg | 2021-05-07 | 1 | -5/+9 |
| | | | | | Some awk versions use ugly formatting (scientific notion) for large numbers, which breaks any further handling of thise numbers in scripts. | ||||
* | [cert] Only import hashed symlink certs into nssdb | Simon Rettberg | 2021-03-10 | 1 | -1/+1 |
| | | | | This makes sure we don't import duplicates, or the cert bundle etc. | ||||
* | Remember if we were sourced and don't do it again | Simon Rettberg | 2021-02-09 | 1 | -0/+3 |
| | | | | | Sourcing slx-tools again would overwrite all already pulled in functions with their respective stubs again, so prevent that from happening. | ||||
* | [cert] New module for doing stuff with certificates | Simon Rettberg | 2021-02-08 | 1 | -0/+29 |
| | | | | | Add cert_to_nssdb: Add one or more certificates to an nssdb database. | ||||
* | [ini] New module | Simon Rettberg | 2021-01-13 | 1 | -0/+11 |
| | |||||
* | [dev] More sanity checks, fallback to GPT if MBR yields nothing | Simon Rettberg | 2020-10-07 | 1 | -36/+49 |
| | |||||
* | [dev] Add comments | Simon Rettberg | 2020-10-07 | 1 | -4/+20 |
| | |||||
* | [dev] Implement raw partition scanner (MBR+GPT) | Simon Rettberg | 2020-10-07 | 2 | -20/+137 |
| | | | | | | | | | | Relying in udev has proven unsuitable time and time again. Sometimes after switchroot, it loses information about partitions that was already present in the initramfs. When an MBR partition contains a filesystem that is larger than the partition, the udev info is missing the MBR partition type from its output (observed with NTFS at least). As the kernel doesn't expose the mbr type and gpt type GUID directly in sysfs, we implement our own crude MBR and GPT parsers. In ash. | ||||
* | Add net module (net_resolve_v4 for now)v27 | Simon Rettberg | 2019-10-28 | 1 | -0/+9 |
| | |||||
* | Add mem module | Simon Rettberg | 2019-10-28 | 1 | -0/+25 |
| | |||||
* | consider network shares in fs_path_isvolatile | Jonathan Bauer | 2019-10-16 | 1 | -1/+9 |
| | |||||
* | Add fs_path_ismountpoint | Simon Rettberg | 2019-07-02 | 1 | -0/+6 |
| | |||||
* | Exclude functions with wrong prefix; list available functions | Simon Rettberg | 2019-06-14 | 2 | -2/+10 |
| | | | | Invoking slx-tools without arguments lists available functions now. | ||||
* | Fix typo | Simon Rettberg | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | Add String and XML helpers | Simon Rettberg | 2019-05-27 | 3 | -0/+37 |
| | |||||
* | Add download and download_retry | Simon Rettberg | 2019-05-27 | 1 | -0/+10 |
| | |||||
* | Modularize | Simon Rettberg | 2019-05-27 | 6 | -69/+121 |
| | |||||
* | Match proper field | Simon Rettberg | 2019-04-05 | 1 | -1/+1 |
| | |||||
* | Refactor, rename, break things | Simon Rettberg | 2019-04-05 | 1 | -47/+129 |
| | |||||
* | Invert logic and use || for $x = ${x#<prefix>} checks | Simon Rettberg | 2019-03-15 | 1 | -3/+3 |
| | | | | | | | This makes it so that if $x starts with <prefix>, the statement after the condition is executed, which seems easier to read. i.e. [ "$x" = "${x#abc}" ] || echo "x starts with abc" | ||||
* | Simplify checks, consider zram as volatile too | Simon Rettberg | 2019-03-15 | 1 | -6/+6 |
| | |||||
* | fix search/replace for ash | Jonathan Bauer | 2019-02-27 | 1 | -3/+5 |
| | |||||
* | improvements & bug fixes | Jonathan Bauer | 2019-02-27 | 1 | -11/+30 |
| | |||||
* | initial collections of beta functions | Jonathan Bauer | 2019-02-18 | 1 | -0/+77 |
| | |||||
* | initial commit | Jonathan Bauer | 2019-02-18 | 1 | -0/+1 |