penguins-eggs 10.0.46 → 10.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.oclif.manifest.json +1 -1
- package/README.md +27 -27
- package/conf/distros/alpine/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +13 -0
- package/conf/distros/alpine/calamares/calamares-modules/dpkg-unsafe-io/module.yml +6 -0
- package/conf/distros/alpine/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +6 -0
- package/conf/distros/alpine/calamares/calamares-modules/sources-yolk/module.yml +8 -0
- package/conf/distros/alpine/calamares/calamares-modules/sources-yolk/sources-yolk.sh +50 -0
- package/conf/distros/alpine/calamares/calamares-modules/sources-yolk-undo/module.yml +8 -0
- package/conf/distros/alpine/calamares/modules/bootloader.yml +1 -1
- package/conf/distros/alpine/calamares/modules/displaymanager.yml +2 -3
- package/conf/distros/alpine/calamares/modules/finished.yml +2 -2
- package/conf/distros/alpine/calamares/modules/fstab.yml +1 -1
- package/conf/distros/alpine/calamares/modules/locale.yml +0 -1
- package/conf/distros/alpine/calamares/modules/luksopenswaphookcfg.yml +1 -1
- package/conf/distros/alpine/calamares/modules/machineid.yml +1 -1
- package/conf/distros/alpine/calamares/modules/mount.yml +1 -1
- package/conf/distros/alpine/calamares/modules/packages.yml +2 -2
- package/conf/distros/alpine/calamares/modules/partition.yml +1 -1
- package/conf/distros/alpine/calamares/modules/removeuser.yml +2 -2
- package/conf/distros/alpine/calamares/modules/unpackfs.yml +1 -1
- package/conf/distros/alpine/calamares/modules/users.yml +1 -0
- package/conf/distros/alpine/calamares/modules/welcome.yml +1 -1
- package/conf/distros/alpine/calamares/settings.yml +81 -8
- package/conf/distros/fedora/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +13 -0
- package/conf/distros/fedora/calamares/calamares-modules/dpkg-unsafe-io/module.yml +6 -0
- package/conf/distros/fedora/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +6 -0
- package/conf/distros/fedora/calamares/calamares-modules/sources-yolk/module.yml +8 -0
- package/conf/distros/fedora/calamares/calamares-modules/sources-yolk/sources-yolk.sh +50 -0
- package/conf/distros/fedora/calamares/calamares-modules/sources-yolk-undo/module.yml +8 -0
- package/conf/distros/fedora/calamares/modules/bootloader.yml +1 -1
- package/conf/distros/fedora/calamares/modules/displaymanager.yml +2 -3
- package/conf/distros/fedora/calamares/modules/finished.yml +2 -2
- package/conf/distros/fedora/calamares/modules/fstab.yml +1 -1
- package/conf/distros/fedora/calamares/modules/locale.yml +0 -1
- package/conf/distros/fedora/calamares/modules/luksopenswaphookcfg.yml +1 -1
- package/conf/distros/fedora/calamares/modules/machineid.yml +1 -1
- package/conf/distros/fedora/calamares/modules/mount.yml +1 -1
- package/conf/distros/fedora/calamares/modules/packages.yml +2 -2
- package/conf/distros/fedora/calamares/modules/partition.yml +1 -1
- package/conf/distros/fedora/calamares/modules/removeuser.yml +2 -2
- package/conf/distros/fedora/calamares/modules/unpackfs.yml +1 -1
- package/conf/distros/fedora/calamares/modules/users.yml +1 -0
- package/conf/distros/fedora/calamares/modules/welcome.yml +1 -1
- package/conf/distros/fedora/calamares/settings.yml +81 -8
- package/conf/distros/opensuse/calamares/calamares-modules/dpkg-unsafe-io/dpkg-unsafe-io.sh +13 -0
- package/conf/distros/opensuse/calamares/calamares-modules/dpkg-unsafe-io/module.yml +6 -0
- package/conf/distros/opensuse/calamares/calamares-modules/dpkg-unsafe-io-undo/module.yml +6 -0
- package/conf/distros/opensuse/calamares/calamares-modules/sources-yolk/module.yml +8 -0
- package/conf/distros/opensuse/calamares/calamares-modules/sources-yolk/sources-yolk.sh +50 -0
- package/conf/distros/opensuse/calamares/calamares-modules/sources-yolk-undo/module.yml +8 -0
- package/conf/distros/opensuse/calamares/modules/bootloader.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/displaymanager.yml +2 -3
- package/conf/distros/opensuse/calamares/modules/finished.yml +2 -2
- package/conf/distros/opensuse/calamares/modules/fstab.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/locale.yml +0 -1
- package/conf/distros/opensuse/calamares/modules/luksopenswaphookcfg.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/machineid.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/mount.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/packages.yml +2 -2
- package/conf/distros/opensuse/calamares/modules/partition.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/removeuser.yml +2 -2
- package/conf/distros/opensuse/calamares/modules/unpackfs.yml +1 -1
- package/conf/distros/opensuse/calamares/modules/users.yml +1 -0
- package/conf/distros/opensuse/calamares/modules/welcome.yml +1 -1
- package/conf/distros/opensuse/calamares/settings.yml +81 -8
- package/conf/distros/rolling/calamares/modules/finished.yml +1 -1
- package/dist/classes/distro.js +6 -5
- package/dist/classes/incubation/fisherman.js +9 -11
- package/dist/classes/incubation/incubator.d.ts +1 -1
- package/dist/classes/incubation/incubator.js +7 -6
- package/dist/classes/ovary.js +43 -24
- package/dist/classes/tailor.d.ts +7 -0
- package/dist/classes/tailor.js +18 -18
- package/dist/classes/utils.js +1 -2
- package/dist/commands/calamares.js +5 -3
- package/dist/commands/export/pkg.js +4 -4
- package/dist/components/information.js +4 -3
- package/dist/krill/modules/bootloader.js +60 -0
- package/dist/krill/modules/machine-id.js +11 -5
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +4 -4
- package/package.json +4 -4
- package/scripts/lsb_release +97 -0
- package/syslinux/isohdpfx.bin +0 -0
package/.oclif.manifest.json
CHANGED
package/README.md
CHANGED
|
@@ -490,7 +490,7 @@ EXAMPLES
|
|
|
490
490
|
$ eggs adapt
|
|
491
491
|
```
|
|
492
492
|
|
|
493
|
-
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
493
|
+
_See code: [src/commands/adapt.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/adapt.ts)_
|
|
494
494
|
|
|
495
495
|
## `eggs analyze`
|
|
496
496
|
|
|
@@ -511,7 +511,7 @@ EXAMPLES
|
|
|
511
511
|
sudo eggs analyze
|
|
512
512
|
```
|
|
513
513
|
|
|
514
|
-
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
514
|
+
_See code: [src/commands/analyze.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/analyze.ts)_
|
|
515
515
|
|
|
516
516
|
## `eggs autocomplete [SHELL]`
|
|
517
517
|
|
|
@@ -542,7 +542,7 @@ EXAMPLES
|
|
|
542
542
|
$ eggs autocomplete --refresh-cache
|
|
543
543
|
```
|
|
544
544
|
|
|
545
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.
|
|
545
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.8/src/commands/autocomplete/index.ts)_
|
|
546
546
|
|
|
547
547
|
## `eggs calamares`
|
|
548
548
|
|
|
@@ -575,7 +575,7 @@ EXAMPLES
|
|
|
575
575
|
sudo eggs calamares --remove
|
|
576
576
|
```
|
|
577
577
|
|
|
578
|
-
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
578
|
+
_See code: [src/commands/calamares.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/calamares.ts)_
|
|
579
579
|
|
|
580
580
|
## `eggs config`
|
|
581
581
|
|
|
@@ -602,7 +602,7 @@ EXAMPLES
|
|
|
602
602
|
sudo eggs config --clean --nointeractive
|
|
603
603
|
```
|
|
604
604
|
|
|
605
|
-
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
605
|
+
_See code: [src/commands/config.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/config.ts)_
|
|
606
606
|
|
|
607
607
|
## `eggs cuckoo`
|
|
608
608
|
|
|
@@ -622,7 +622,7 @@ EXAMPLES
|
|
|
622
622
|
sudo eggs cuckoo
|
|
623
623
|
```
|
|
624
624
|
|
|
625
|
-
_See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
625
|
+
_See code: [src/commands/cuckoo.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/cuckoo.ts)_
|
|
626
626
|
|
|
627
627
|
## `eggs dad`
|
|
628
628
|
|
|
@@ -650,7 +650,7 @@ EXAMPLES
|
|
|
650
650
|
sudo dad --default
|
|
651
651
|
```
|
|
652
652
|
|
|
653
|
-
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
653
|
+
_See code: [src/commands/dad.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/dad.ts)_
|
|
654
654
|
|
|
655
655
|
## `eggs export iso`
|
|
656
656
|
|
|
@@ -675,7 +675,7 @@ EXAMPLES
|
|
|
675
675
|
$ eggs export iso --clean
|
|
676
676
|
```
|
|
677
677
|
|
|
678
|
-
_See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
678
|
+
_See code: [src/commands/export/iso.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/export/iso.ts)_
|
|
679
679
|
|
|
680
680
|
## `eggs export pkg`
|
|
681
681
|
|
|
@@ -702,7 +702,7 @@ EXAMPLES
|
|
|
702
702
|
$ eggs export pkg --all
|
|
703
703
|
```
|
|
704
704
|
|
|
705
|
-
_See code: [src/commands/export/pkg.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
705
|
+
_See code: [src/commands/export/pkg.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/export/pkg.ts)_
|
|
706
706
|
|
|
707
707
|
## `eggs help [COMMAND]`
|
|
708
708
|
|
|
@@ -763,7 +763,7 @@ EXAMPLES
|
|
|
763
763
|
sudo eggs install --chroot
|
|
764
764
|
```
|
|
765
765
|
|
|
766
|
-
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
766
|
+
_See code: [src/commands/install.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/install.ts)_
|
|
767
767
|
|
|
768
768
|
## `eggs kill`
|
|
769
769
|
|
|
@@ -786,7 +786,7 @@ EXAMPLES
|
|
|
786
786
|
sudo eggs kill
|
|
787
787
|
```
|
|
788
788
|
|
|
789
|
-
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
789
|
+
_See code: [src/commands/kill.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/kill.ts)_
|
|
790
790
|
|
|
791
791
|
## `eggs krill`
|
|
792
792
|
|
|
@@ -846,7 +846,7 @@ EXAMPLES
|
|
|
846
846
|
$ eggs auto
|
|
847
847
|
```
|
|
848
848
|
|
|
849
|
-
_See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
849
|
+
_See code: [src/commands/love.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/love.ts)_
|
|
850
850
|
|
|
851
851
|
## `eggs mom`
|
|
852
852
|
|
|
@@ -866,7 +866,7 @@ EXAMPLES
|
|
|
866
866
|
$ eggs mom
|
|
867
867
|
```
|
|
868
868
|
|
|
869
|
-
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
869
|
+
_See code: [src/commands/mom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/mom.ts)_
|
|
870
870
|
|
|
871
871
|
## `eggs produce`
|
|
872
872
|
|
|
@@ -923,7 +923,7 @@ EXAMPLES
|
|
|
923
923
|
sudo eggs produce --excludes home # exclude ~/*
|
|
924
924
|
```
|
|
925
925
|
|
|
926
|
-
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
926
|
+
_See code: [src/commands/produce.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/produce.ts)_
|
|
927
927
|
|
|
928
928
|
## `eggs status`
|
|
929
929
|
|
|
@@ -944,7 +944,7 @@ EXAMPLES
|
|
|
944
944
|
$ eggs status
|
|
945
945
|
```
|
|
946
946
|
|
|
947
|
-
_See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
947
|
+
_See code: [src/commands/status.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/status.ts)_
|
|
948
948
|
|
|
949
949
|
## `eggs syncfrom`
|
|
950
950
|
|
|
@@ -970,7 +970,7 @@ EXAMPLES
|
|
|
970
970
|
sudo eggs syncfrom --file /path/to/luks-volume
|
|
971
971
|
```
|
|
972
972
|
|
|
973
|
-
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
973
|
+
_See code: [src/commands/syncfrom.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/syncfrom.ts)_
|
|
974
974
|
|
|
975
975
|
## `eggs syncto`
|
|
976
976
|
|
|
@@ -997,7 +997,7 @@ EXAMPLES
|
|
|
997
997
|
sudo eggs syncto --excludes
|
|
998
998
|
```
|
|
999
999
|
|
|
1000
|
-
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1000
|
+
_See code: [src/commands/syncto.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/syncto.ts)_
|
|
1001
1001
|
|
|
1002
1002
|
## `eggs tools clean`
|
|
1003
1003
|
|
|
@@ -1019,7 +1019,7 @@ EXAMPLES
|
|
|
1019
1019
|
sudo eggs tools clean
|
|
1020
1020
|
```
|
|
1021
1021
|
|
|
1022
|
-
_See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1022
|
+
_See code: [src/commands/tools/clean.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/tools/clean.ts)_
|
|
1023
1023
|
|
|
1024
1024
|
## `eggs tools ppa`
|
|
1025
1025
|
|
|
@@ -1045,7 +1045,7 @@ EXAMPLES
|
|
|
1045
1045
|
sudo eggs tools ppa --remove
|
|
1046
1046
|
```
|
|
1047
1047
|
|
|
1048
|
-
_See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1048
|
+
_See code: [src/commands/tools/ppa.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/tools/ppa.ts)_
|
|
1049
1049
|
|
|
1050
1050
|
## `eggs tools skel`
|
|
1051
1051
|
|
|
@@ -1069,7 +1069,7 @@ EXAMPLES
|
|
|
1069
1069
|
sudo eggs tools skel --user user-to-be-copied
|
|
1070
1070
|
```
|
|
1071
1071
|
|
|
1072
|
-
_See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1072
|
+
_See code: [src/commands/tools/skel.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/tools/skel.ts)_
|
|
1073
1073
|
|
|
1074
1074
|
## `eggs tools stat`
|
|
1075
1075
|
|
|
@@ -1095,7 +1095,7 @@ EXAMPLES
|
|
|
1095
1095
|
$ eggs tools stat --year
|
|
1096
1096
|
```
|
|
1097
1097
|
|
|
1098
|
-
_See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1098
|
+
_See code: [src/commands/tools/stat.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/tools/stat.ts)_
|
|
1099
1099
|
|
|
1100
1100
|
## `eggs tools yolk`
|
|
1101
1101
|
|
|
@@ -1116,7 +1116,7 @@ EXAMPLES
|
|
|
1116
1116
|
sudo eggs tools yolk
|
|
1117
1117
|
```
|
|
1118
1118
|
|
|
1119
|
-
_See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1119
|
+
_See code: [src/commands/tools/yolk.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/tools/yolk.ts)_
|
|
1120
1120
|
|
|
1121
1121
|
## `eggs update`
|
|
1122
1122
|
|
|
@@ -1137,7 +1137,7 @@ EXAMPLES
|
|
|
1137
1137
|
$ eggs update
|
|
1138
1138
|
```
|
|
1139
1139
|
|
|
1140
|
-
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1140
|
+
_See code: [src/commands/update.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/update.ts)_
|
|
1141
1141
|
|
|
1142
1142
|
## `eggs version`
|
|
1143
1143
|
|
|
@@ -1183,7 +1183,7 @@ EXAMPLES
|
|
|
1183
1183
|
$ eggs wardrobe get your-wardrobe
|
|
1184
1184
|
```
|
|
1185
1185
|
|
|
1186
|
-
_See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1186
|
+
_See code: [src/commands/wardrobe/get.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/wardrobe/get.ts)_
|
|
1187
1187
|
|
|
1188
1188
|
## `eggs wardrobe list [REPO]`
|
|
1189
1189
|
|
|
@@ -1212,7 +1212,7 @@ EXAMPLES
|
|
|
1212
1212
|
$ eggs wardrobe list --distro arch
|
|
1213
1213
|
```
|
|
1214
1214
|
|
|
1215
|
-
_See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1215
|
+
_See code: [src/commands/wardrobe/list.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/wardrobe/list.ts)_
|
|
1216
1216
|
|
|
1217
1217
|
## `eggs wardrobe show [REPO]`
|
|
1218
1218
|
|
|
@@ -1242,7 +1242,7 @@ EXAMPLES
|
|
|
1242
1242
|
$ eggs wardrobe show accessories/
|
|
1243
1243
|
```
|
|
1244
1244
|
|
|
1245
|
-
_See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1245
|
+
_See code: [src/commands/wardrobe/show.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/wardrobe/show.ts)_
|
|
1246
1246
|
|
|
1247
1247
|
## `eggs wardrobe wear [REPO]`
|
|
1248
1248
|
|
|
@@ -1273,7 +1273,7 @@ EXAMPLES
|
|
|
1273
1273
|
sudo eggs wardrobe wear wagtail/waydroid
|
|
1274
1274
|
```
|
|
1275
1275
|
|
|
1276
|
-
_See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.
|
|
1276
|
+
_See code: [src/commands/wardrobe/wear.ts](https://github.com/pieroproietti/penguins-eggs/blob/v10.0.49/src/commands/wardrobe/wear.ts)_
|
|
1277
1277
|
<!-- commandsstop -->
|
|
1278
1278
|
|
|
1279
1279
|
# penGUI
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
|
|
4
|
+
|
|
5
|
+
if [ "$1" = "-u" ]; then
|
|
6
|
+
rm $CHROOT/etc/dpkg/dpkg.cfg.d/calamares-force-unsafe-io
|
|
7
|
+
sync
|
|
8
|
+
exit 0
|
|
9
|
+
fi
|
|
10
|
+
|
|
11
|
+
echo "force-unsafe-io" > $CHROOT/etc/dpkg/dpkg.cfg.d/calamares-force-unsafe-io
|
|
12
|
+
|
|
13
|
+
exit 0
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
#
|
|
4
|
+
# We use just yolk during installation
|
|
5
|
+
#
|
|
6
|
+
# sources-yolk.sh
|
|
7
|
+
# add yolk
|
|
8
|
+
#
|
|
9
|
+
# sources-yolk.sh -u
|
|
10
|
+
# remove yolk
|
|
11
|
+
|
|
12
|
+
#
|
|
13
|
+
#
|
|
14
|
+
#
|
|
15
|
+
main() {
|
|
16
|
+
if [ "$1" = "-u" ]; then
|
|
17
|
+
remove
|
|
18
|
+
else
|
|
19
|
+
add
|
|
20
|
+
fi
|
|
21
|
+
sync
|
|
22
|
+
exit 0
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
#
|
|
27
|
+
#
|
|
28
|
+
#
|
|
29
|
+
remove() {
|
|
30
|
+
if [ -f "$YOLK_LIST" ]; then
|
|
31
|
+
rm -f "$YOLK_LIST"
|
|
32
|
+
fi
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#
|
|
36
|
+
#
|
|
37
|
+
#
|
|
38
|
+
add() {
|
|
39
|
+
echo "deb [trusted=yes] file:/var/local/yolk ./" > "$YOLK_LIST"
|
|
40
|
+
chroot "$CHROOT" apt-get --yes update
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#
|
|
44
|
+
# WE START HERE
|
|
45
|
+
#
|
|
46
|
+
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
|
|
47
|
+
YOLK_LIST="$CHROOT/etc/apt/sources.list.d/yolk.list"
|
|
48
|
+
|
|
49
|
+
main "$1"
|
|
50
|
+
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Debian/bookworm
|
|
2
2
|
# Configure one or more display managers (e.g. SDDM)
|
|
3
3
|
# with a "best effort" approach.
|
|
4
4
|
---
|
|
5
5
|
#The DM module attempts to set up all the DMs found in this list, in that precise order.
|
|
6
6
|
#It also sets up autologin, if the feature is enabled in globalstorage.
|
|
7
7
|
#The displaymanagers list can also be set in globalstorage, and in that case it overrides anything set up here.
|
|
8
|
-
displaymanagers:
|
|
9
|
-
{{displaymanagers}}
|
|
8
|
+
displaymanagers: none
|
|
10
9
|
|
|
11
10
|
#Enable the following settings to force a desktop environment in your displaymanager configuration file:
|
|
12
11
|
#defaultDesktopEnvironment:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Debian Buster
|
|
2
2
|
# removeuser
|
|
3
3
|
# SPDX-FileCopyrightText: no
|
|
4
4
|
# SPDX-License-Identifier: CC0-1.0
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
# continues as normal.
|
|
13
13
|
---
|
|
14
14
|
# Username in the target system to be removed.
|
|
15
|
-
username:
|
|
15
|
+
username: node
|
|
@@ -1,11 +1,40 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Debian/bookworm
|
|
2
2
|
---
|
|
3
3
|
# "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules
|
|
4
4
|
modules-search: [ local, /usr/lib/calamares/modules ]
|
|
5
5
|
|
|
6
|
+
# If this is set to true, Calamares refers to itself as a "setup program"
|
|
7
|
+
# rather than an "installer". Defaults to the value of dont-chroot, but
|
|
8
|
+
# Calamares will complain if this is not explicitly set.
|
|
6
9
|
oem-setup: false
|
|
10
|
+
|
|
11
|
+
# If this is set to true, the "Cancel" button will be disabled entirely.
|
|
12
|
+
# The button is also hidden from view.
|
|
13
|
+
#
|
|
14
|
+
# This can be useful if when e.g. Calamares is used as a post-install
|
|
15
|
+
# configuration tool and you require the user to go through all the
|
|
16
|
+
# configuration steps.
|
|
17
|
+
#
|
|
18
|
+
# Default is false, but Calamares will complain if this is not explicitly set.
|
|
19
|
+
#
|
|
20
|
+
# YAML: boolean.
|
|
7
21
|
disable-cancel: false
|
|
22
|
+
|
|
23
|
+
# If this is set to true, the "Cancel" button will be disabled once
|
|
24
|
+
# you start the 'Installation', meaning there won't be a way to cancel
|
|
25
|
+
# the Installation until it has finished or installation has failed.
|
|
26
|
+
#
|
|
27
|
+
# Default is false, but Calamares will complain if this is not explicitly set.
|
|
28
|
+
#
|
|
29
|
+
# YAML: boolean.
|
|
8
30
|
disable-cancel-during-exec: false
|
|
31
|
+
|
|
32
|
+
# If this is set to true, then once the end of the sequence has
|
|
33
|
+
# been reached, the quit (done) button is clicked automatically
|
|
34
|
+
# and Calamares will close. Default is false: the user will see
|
|
35
|
+
# that the end of installation has been reached, and that things are ok.
|
|
36
|
+
#
|
|
37
|
+
#
|
|
9
38
|
quit-at-end: false
|
|
10
39
|
|
|
11
40
|
instances:
|
|
@@ -15,43 +44,87 @@ instances:
|
|
|
15
44
|
|
|
16
45
|
sequence:
|
|
17
46
|
# Phase 1 - prepare.
|
|
47
|
+
# View modules are shown as UI pages, jobs from job modules
|
|
48
|
+
# are executed immediately in the background.
|
|
49
|
+
# Jobs should be executed sparingly (if at all) in this phase.
|
|
18
50
|
- show:
|
|
19
51
|
- welcome
|
|
20
52
|
- locale
|
|
21
53
|
- keyboard
|
|
22
54
|
- partition
|
|
23
|
-
|
|
55
|
+
{{createUsers}}users
|
|
24
56
|
- summary
|
|
25
57
|
|
|
26
58
|
# Phase 2 - install.
|
|
59
|
+
# View modules are not shown. Only the view modules shown
|
|
60
|
+
# in the previous phase are allowed, their names should be
|
|
61
|
+
# added here as placeholders to specify the order in which
|
|
62
|
+
# view module jobs should be enqueued. Job modules are
|
|
63
|
+
# also allowed.
|
|
27
64
|
- exec:
|
|
28
65
|
- partition
|
|
29
66
|
- mount
|
|
30
67
|
- unpackfs
|
|
31
|
-
-
|
|
68
|
+
- dpkg-unsafe-io
|
|
69
|
+
- sources-yolk
|
|
70
|
+
{{hasSystemd}}machineid
|
|
32
71
|
- fstab
|
|
33
72
|
- locale
|
|
34
73
|
- keyboard
|
|
35
|
-
-
|
|
36
|
-
|
|
74
|
+
- localecfg
|
|
75
|
+
{{createUsers}}users
|
|
76
|
+
{{hasDisplaymanager}}displaymanager
|
|
37
77
|
- networkcfg
|
|
38
78
|
- hwclock
|
|
39
|
-
-
|
|
79
|
+
{{hasSystemd}}services-systemd
|
|
40
80
|
- bootloader-config
|
|
41
81
|
- grubcfg
|
|
42
82
|
- bootloader
|
|
43
83
|
- packages
|
|
44
84
|
- luksbootkeyfile
|
|
45
85
|
- plymouthcfg
|
|
46
|
-
-
|
|
86
|
+
- initramfscfg
|
|
87
|
+
- initramfs
|
|
88
|
+
- dpkg-unsafe-io-undo
|
|
47
89
|
- removeuser
|
|
90
|
+
- sources-yolk-undo
|
|
91
|
+
- cleanup
|
|
48
92
|
- umount
|
|
49
93
|
|
|
50
94
|
# Phase 3 - postinstall.
|
|
95
|
+
# View modules are shown as UI pages, jobs from job modules are
|
|
96
|
+
# executed immediately in the background.
|
|
97
|
+
# Jobs should be executed sparingly (if at all) in this phase.
|
|
51
98
|
- show:
|
|
52
99
|
- finished
|
|
53
100
|
|
|
54
|
-
# branding
|
|
101
|
+
# A branding component is a directory, either in
|
|
102
|
+
# SHARE/calamares/branding or in /etc/calamares/branding
|
|
103
|
+
# (the latter takes precedence). The directory must contain a
|
|
104
|
+
# YAML file branding.desc which may reference additional resources
|
|
105
|
+
# (such as images) as paths relative to the current directory.
|
|
106
|
+
# Only the name of the branding component (directory) should be
|
|
107
|
+
# specified here, Calamares then takes care of finding it and
|
|
108
|
+
# loading the contents.
|
|
55
109
|
branding: {{branding}}
|
|
110
|
+
|
|
111
|
+
# If this is set to true, Calamares will show an "Are you sure?" prompt right
|
|
112
|
+
# before each execution phase, i.e. at points of no return. If this is set to
|
|
113
|
+
# false, no prompt is shown. Default is false.
|
|
114
|
+
#
|
|
115
|
+
# YAML: boolean.
|
|
56
116
|
prompt-install: false
|
|
117
|
+
|
|
118
|
+
# If this is set to true, Calamares will execute all target environment
|
|
119
|
+
# commands in the current environment, without chroot. This setting should
|
|
120
|
+
# only be used when setting up Calamares as a post-install configuration tool,
|
|
121
|
+
# as opposed to a full operating system installer.
|
|
122
|
+
#
|
|
123
|
+
# Some official Calamares modules are not expected to function with this
|
|
124
|
+
# setting. (e.g. partitioning seems like a bad idea, since that is expected to
|
|
125
|
+
# have been done already)
|
|
126
|
+
#
|
|
127
|
+
# Default is false (for a normal installer).
|
|
128
|
+
#
|
|
129
|
+
# YAML: boolean.
|
|
57
130
|
dont-chroot: false
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
|
|
4
|
+
|
|
5
|
+
if [ "$1" = "-u" ]; then
|
|
6
|
+
rm $CHROOT/etc/dpkg/dpkg.cfg.d/calamares-force-unsafe-io
|
|
7
|
+
sync
|
|
8
|
+
exit 0
|
|
9
|
+
fi
|
|
10
|
+
|
|
11
|
+
echo "force-unsafe-io" > $CHROOT/etc/dpkg/dpkg.cfg.d/calamares-force-unsafe-io
|
|
12
|
+
|
|
13
|
+
exit 0
|