summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* is_debug: Refine KCL regexHEADmasterSimon Rettberg2024-03-011-1/+1
|
* [is] Add is_debug: Check whether system is running in debug modeSimon Rettberg2024-02-081-0/+26
| | | | See $SLX_DEBUG in docs.
* [dev] Make some of the debug messages depend on $SLX_DEBUGSimon Rettberg2024-02-081-9/+9
|
* [dev] find_partitions: Limit search to /dev, no subdirsSimon Rettberg2024-01-301-1/+1
|
* [dev] Fix ro path expressionSimon Rettberg2024-01-301-1/+1
|
* [dev] find_partitions: Add --rw option to skip scanning ro devicesSimon Rettberg2024-01-291-1/+8
|
* [is] New moduleSimon Rettberg2023-07-061-0/+6
|
* [dev] Support >= 10 partitionsSimon Rettberg2022-10-191-3/+5
|
* [dev] Fix missing instance where we need to check for 0fSimon Rettberg2022-10-181-1/+2
|
* [dev] Add dev_swap_version: Returns version number of a swap partitionSimon Rettberg2022-07-251-0/+21
|
* [download] Increase default retry timeout, add --slx-time optionv29r2Simon Rettberg2022-05-231-9/+17
|
* [dev] dev_find_partitions: Workaround for missing PARTN/NAME on CentOS 7Simon Rettberg2022-04-201-1/+15
| | | | This is quick and dirty and only properly handles ASCII partition labels
* [download] fix {x..y} not supported in ashv29r1Jonathan Bauer2021-09-231-1/+1
|
* [download] manual retry loop instead of --retryJonathan Bauer2021-09-171-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/warningsSimon Rettberg2021-07-261-7/+7
|
* dev: Workaround for trailing spaces in busybox xxd outputSimon Rettberg2021-07-221-2/+2
|
* [dev] Add support for xxd without -eSimon Rettberg2021-07-021-0/+2
|
* [dev] dev_get_type = 0f is an extended partition too...Simon Rettberg2021-06-181-2/+5
|
* [dev] dev_find_paritions: Add debug output, better hex2bin supportSimon Rettberg2021-06-181-6/+59
|
* [fs/path] Use bc for mathv28Simon Rettberg2021-05-071-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 nssdbSimon Rettberg2021-03-101-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 againSimon Rettberg2021-02-091-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 certificatesSimon Rettberg2021-02-081-0/+29
| | | | | Add cert_to_nssdb: Add one or more certificates to an nssdb database.
* [ini] New moduleSimon Rettberg2021-01-131-0/+11
|
* [dev] More sanity checks, fallback to GPT if MBR yields nothingSimon Rettberg2020-10-071-36/+49
|
* [dev] Add commentsSimon Rettberg2020-10-071-4/+20
|
* [dev] Implement raw partition scanner (MBR+GPT)Simon Rettberg2020-10-072-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)v27Simon Rettberg2019-10-281-0/+9
|
* Add mem moduleSimon Rettberg2019-10-281-0/+25
|
* consider network shares in fs_path_isvolatileJonathan Bauer2019-10-161-1/+9
|
* Add fs_path_ismountpointSimon Rettberg2019-07-021-0/+6
|
* Exclude functions with wrong prefix; list available functionsSimon Rettberg2019-06-142-2/+10
| | | | Invoking slx-tools without arguments lists available functions now.
* Fix typoSimon Rettberg2019-05-281-1/+1
|
* Add String and XML helpersSimon Rettberg2019-05-273-0/+37
|
* Add download and download_retrySimon Rettberg2019-05-271-0/+10
|
* ModularizeSimon Rettberg2019-05-276-69/+121
|
* Match proper fieldSimon Rettberg2019-04-051-1/+1
|
* Refactor, rename, break thingsSimon Rettberg2019-04-051-47/+129
|
* Invert logic and use || for $x = ${x#<prefix>} checksSimon Rettberg2019-03-151-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 tooSimon Rettberg2019-03-151-6/+6
|
* fix search/replace for ashJonathan Bauer2019-02-271-3/+5
|
* improvements & bug fixesJonathan Bauer2019-02-271-11/+30
|
* initial collections of beta functionsJonathan Bauer2019-02-181-0/+77
|
* initial commitJonathan Bauer2019-02-181-0/+1