summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* install_system(): Move dir check to installerPatrick McDermott2021-01-162-4/+5
| | | | | | | | | | | | | | Fixes: prokit: Using architecture i686-linux-glibc prokit: Using platform libiquity-testbench prokit: Using mirror http://files.proteanos.com/pub/proteanos prokit: Clearing MBR and partition table... prokit: Creating partition table... prokit: Creating file system... 2 blocks prokit: Setting up root... prokit: Error: Directory "/tmp/prokit-2298865601/mount/block-1684450150" exists
* installer/pcramfs: Make RAM FS twicePatrick McDermott2021-01-162-0/+5
| | | | | | | Fixes: Mapping RAM disk /boot/initrd.img Fatal: open /boot/initrd.img: No such file or directory
* installer/pcramfs: New installer backendPatrick McDermott2021-01-162-1/+57
|
* installer/pc: Make functions "public"Patrick McDermott2021-01-161-7/+7
|
* profile_make_initramfs(): Write RAM FS into systemPatrick McDermott2021-01-161-1/+2
|
* cmd/mkinitramfs: Remove commandPatrick McDermott2021-01-162-90/+1
| | | | | | | | Will be replaced by an installer backend. Also, the name "mkINITramfs" (emphasis added) never really made sense here. In ProteanOS, the RAM-based file system is the final file system, not an initial one.
* locale: Remove/rename "installer-pc" cmd stringsPatrick McDermott2021-01-161-7/+7
|
* cmd/installer-pc: Remove distinct commandPatrick McDermott2021-01-162-158/+0
|
* cmd/install: Use installer backendsPatrick McDermott2021-01-162-40/+6
|
* installer/pc: New installer backendPatrick McDermott2021-01-162-1/+108
|
* installer/chroot: New installer backendPatrick McDermott2021-01-163-0/+40
| | | | This installer doesn't support installing to a block device.
* installer: Add installer backend frontendPatrick McDermott2021-01-162-0/+80
|
* install_find_pkgs(): Drop unnecessary parametersPatrick McDermott2021-01-161-8/+5
|
* profile: Simplify function parametersPatrick McDermott2021-01-162-30/+27
| | | | | Save mirror and suite arguments in profile_prepare_install(), then use them in other profile functions.
* profile_prepare_install(): New functionPatrick McDermott2021-01-163-24/+21
| | | | | | | | | | profile_installer_type() will be the first caller of _prof_proteanos_get_platforms() to be called, but it will be called in a subshell. As a result, _prof_proteanos_get_platforms() would be called twice. To solve this, factor out _prof_proteanos_get_platforms() calls from other functions, making them pure (subshell-safe).
* profile_installer_type(): New functionPatrick McDermott2021-01-162-3/+24
|
* profile/proteanos: Use archive's Platforms filePatrick McDermott2021-01-162-28/+74
|
* cmd/build: Fix AND-OR list logicPatrick McDermott2021-01-131-2/+4
|
* cmd/build: List installed pkgs only if loggingPatrick McDermott2021-01-131-1/+1
|
* cmd/build: Don't print build info if not loggingPatrick McDermott2021-01-121-18/+26
|
* cmd/build: Allow logging to be disabledPatrick McDermott2021-01-121-24/+32
|
* cmd/build: Improve option handlingPatrick McDermott2021-01-121-11/+25
|
* cmd/build: List built filesPatrick McDermott2021-01-041-2/+5
| | | | | This makes use of the extra space between the "Build Results" and "*.changes" headers.
* cmd/build: Also filter session ID in logPatrick McDermott2021-01-041-3/+6
|
* cmd/build: Filter session directory in logPatrick McDermott2021-01-041-1/+4
| | | | | As in sbuild (>= 0.62.0-1, Debian bug #605763), filtering makes build logs comparable with diff.
* cmd/build: Add more information to build logPatrick McDermott2021-01-041-5/+104
|
* package_get_name_and_version(): Also get distPatrick McDermott2021-01-043-6/+7
|
* cmd/build: Fix redirection syntax errorPatrick McDermott2021-01-042-6/+4
| | | | | | Fixes: src/cmd/build.sh: 199: src/cmd/build.sh: Syntax error: word unexpected (expecting "}")
* cmd/build: Log outputPatrick McDermott2021-01-041-1/+25
|
* fdalloc(): New functionPatrick McDermott2021-01-041-15/+24
|
* cmd/build: Factor out interesting partsPatrick McDermott2021-01-031-19/+32
|
* cmd/build: Save separate build/host arch/plat varsPatrick McDermott2021-01-031-10/+15
|
* package_get_name_and_version(): New functionPatrick McDermott2021-01-032-0/+14
|
* install: Hack around broken gcc-8-dev dependenciesPatrick McDermott2021-01-031-0/+7
|
* cmd/installer-pc: Support foreign installationPatrick McDermott2020-12-121-2/+9
|
* profile/proteanos: Move init script to S00Patrick McDermott2020-12-101-2/+2
|
* profile/proteanos: Install base-files, config-basePatrick McDermott2020-12-101-4/+5
| | | | Not all essential packages.
* resolve_deps(): Solve deps of packages with ":"Patrick McDermott2020-12-091-2/+2
|
* resolve_deps(): Fix infinite loopPatrick McDermott2020-12-091-2/+2
|
* profile/proteanos: Don't run cut link during initPatrick McDermott2020-12-091-1/+1
|
* opkg_install_all(): Don't run cut in the rootPatrick McDermott2020-12-091-2/+5
|
* package: Drop "_" from variable namePatrick McDermott2020-07-101-4/+4
|
* Revert "install: Replace sed "arrays" with eval "arrays""Patrick McDermott2020-07-071-16/+18
| | | | This reverts commit 7f51f0e82f6f808f01f515a8db80fb28be1bac74.
* install: Replace sed "arrays" with eval "arrays"Patrick McDermott2020-07-071-18/+16
| | | | | | | | | | | | | | Before: real 21.89 user 2.08 sys 2.54 After: real 23.93 user 1.93 sys 2.61
* cmd: Fix non-"static" global variablePatrick McDermott2020-07-032-9/+9
| | | | Broken by commit dcf9e96aa3a3530b6f0e6afba8dc0c102b89dd51.
* time(): Rename to unixtime()Patrick McDermott2020-07-032-3/+3
| | | | | | In GNU Bash, time is not simply a built-in utility, but actually a reserved word. Naming a function "time" results in a rather unhelpful syntax error message.
* profile/proteanos: Make constant names uppercasePatrick McDermott2020-07-021-4/+4
|
* Prefix "static" vars with "_"Patrick McDermott2020-07-0212-148/+149
|
* Revert "profile/proteanos: Don't add src feeds by default"Patrick McDermott2020-07-021-0/+9
| | | | This reverts commit d7e1ed7fa426168479d1be4b146a90d95067639f.
* profile/proteanos: Don't add src feeds by defaultPatrick McDermott2020-07-021-9/+0
|