penguins-eggs 9.4.1 → 9.4.3
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 +64 -44
- package/bin/run +1 -1
- package/dist/classes/distro.js +2 -3
- package/dist/classes/family/archlinux.js +1 -1
- package/dist/classes/family/debian.js +1 -1
- package/dist/classes/family/fedora.js +1 -1
- package/dist/classes/family/suse.js +1 -1
- package/dist/classes/ovary.js +4 -4
- package/dist/classes/pacman.js +1 -1
- package/dist/commands/adapt.js +1 -1
- package/dist/commands/analyze.js +1 -1
- package/dist/commands/calamares.js +1 -1
- package/dist/commands/config.js +2 -2
- package/dist/commands/cuckoo.js +1 -1
- package/dist/commands/dad.js +1 -1
- package/dist/commands/export/deb.js +1 -1
- package/dist/commands/export/iso.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/kill.js +1 -1
- package/dist/commands/mom.js +1 -1
- package/dist/commands/produce.js +1 -1
- package/dist/commands/status.js +1 -1
- package/dist/commands/syncfrom.js +1 -1
- package/dist/commands/syncto.js +1 -1
- package/dist/commands/tools/clean.js +1 -1
- package/dist/commands/tools/ppa.js +1 -1
- package/dist/commands/tools/skel.js +1 -1
- package/dist/commands/tools/stat.js +1 -1
- package/dist/commands/tools/yolk.js +1 -1
- package/dist/commands/update.js +1 -1
- package/dist/commands/wardrobe/get.js +1 -1
- package/dist/commands/wardrobe/list.js +1 -1
- package/dist/commands/wardrobe/show.js +1 -1
- package/dist/commands/wardrobe/wear.js +1 -1
- package/eui/README.md +45 -44
- package/eui/esi-autostart-sample.desktop +26 -0
- package/eui/eui-autostart-cinnamon.desktop +13 -0
- package/eui/{eui.desktop → eui-autostart-xfce.desktop} +3 -2
- package/eui/eui-create-image.sh +17 -3
- package/eui/eui-start.sh +7 -3
- package/eui/eui-users +3 -2
- package/manpages/doc/man/eggs.1.gz +0 -0
- package/manpages/doc/man/eggs.html +196 -121
- package/package.json +23 -22
package/dist/commands/produce.js
CHANGED
|
@@ -122,7 +122,6 @@ class Produce extends core_1.Command {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
exports.default = Produce;
|
|
126
125
|
Produce.flags = {
|
|
127
126
|
addons: core_1.Flags.string({ multiple: true, description: 'addons to be used: adapt, ichoice, pve, rsupport' }),
|
|
128
127
|
basename: core_1.Flags.string({ description: 'basename' }),
|
|
@@ -150,3 +149,4 @@ Produce.examples = [
|
|
|
150
149
|
'sudo eggs produce --basename=colibri',
|
|
151
150
|
'sudo eggs produce --basename=colibri --theme /path/to/theme --addons adapt',
|
|
152
151
|
];
|
|
152
|
+
exports.default = Produce;
|
package/dist/commands/status.js
CHANGED
|
@@ -24,7 +24,6 @@ class Status extends core_1.Command {
|
|
|
24
24
|
await (0, information_1.default)(verbose);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
exports.default = Status;
|
|
28
27
|
Status.flags = {
|
|
29
28
|
help: core_1.Flags.help({ char: 'h' }),
|
|
30
29
|
verbose: core_1.Flags.boolean({ char: 'v' }),
|
|
@@ -33,3 +32,4 @@ Status.description = 'informations about eggs status';
|
|
|
33
32
|
Status.examples = [
|
|
34
33
|
'eggs status',
|
|
35
34
|
];
|
|
35
|
+
exports.default = Status;
|
|
@@ -151,7 +151,6 @@ class Syncfrom extends core_1.Command {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
exports.default = Syncfrom;
|
|
155
154
|
Syncfrom.flags = {
|
|
156
155
|
delete: core_1.Flags.string({ description: 'rsync --delete delete extraneous files from dest dirs' }),
|
|
157
156
|
file: core_1.Flags.string({ char: 'f', description: 'file LUKS volume encrypted' }),
|
|
@@ -164,3 +163,4 @@ Syncfrom.examples = [
|
|
|
164
163
|
'sudo eggs syncfrom',
|
|
165
164
|
'sudo eggs syncfrom --file /path/to/fileLUKS',
|
|
166
165
|
];
|
|
166
|
+
exports.default = Syncfrom;
|
package/dist/commands/syncto.js
CHANGED
|
@@ -230,7 +230,6 @@ class Syncto extends core_1.Command {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
exports.default = Syncto;
|
|
234
233
|
Syncto.flags = {
|
|
235
234
|
delete: core_1.Flags.string({ description: 'rsync --delete delete extraneous files from dest dirs' }),
|
|
236
235
|
file: core_1.Flags.string({ char: 'f', description: 'file LUKS volume encrypted' }),
|
|
@@ -242,3 +241,4 @@ Syncto.examples = [
|
|
|
242
241
|
'sudo eggs syncto',
|
|
243
242
|
'sudo eggs syncto --file /path/to/fileLUKS',
|
|
244
243
|
];
|
|
244
|
+
exports.default = Syncto;
|
|
@@ -32,7 +32,6 @@ class Clean extends core_1.Command {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
exports.default = Clean;
|
|
36
35
|
Clean.flags = {
|
|
37
36
|
help: core_1.Flags.help({ char: 'h' }),
|
|
38
37
|
nointeractive: core_1.Flags.boolean({ char: 'n', description: 'no user interaction' }),
|
|
@@ -42,3 +41,4 @@ Clean.description = 'clean system log, apt, etc';
|
|
|
42
41
|
Clean.examples = [
|
|
43
42
|
'sudo eggs tools clean',
|
|
44
43
|
];
|
|
44
|
+
exports.default = Clean;
|
|
@@ -51,7 +51,6 @@ class Ppa extends core_1.Command {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
exports.default = Ppa;
|
|
55
54
|
Ppa.flags = {
|
|
56
55
|
add: core_1.Flags.boolean({ char: 'a', description: 'add penguins-eggs PPA repository' }),
|
|
57
56
|
help: core_1.Flags.help({ char: 'h' }),
|
|
@@ -64,6 +63,7 @@ Ppa.examples = [
|
|
|
64
63
|
'sudo eggs tools ppa --add',
|
|
65
64
|
'sudo eggs tools ppa --remove',
|
|
66
65
|
];
|
|
66
|
+
exports.default = Ppa;
|
|
67
67
|
/**
|
|
68
68
|
* add ppa
|
|
69
69
|
*/
|
|
@@ -39,7 +39,6 @@ class Skel extends core_1.Command {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
exports.default = Skel;
|
|
43
42
|
Skel.flags = {
|
|
44
43
|
help: core_1.Flags.help({ char: 'h' }),
|
|
45
44
|
user: core_1.Flags.string({ char: 'u', description: 'user to be used' }),
|
|
@@ -50,3 +49,4 @@ Skel.examples = [
|
|
|
50
49
|
'sudo eggs skel',
|
|
51
50
|
'sudo eggs skel --user user-to-be-copied',
|
|
52
51
|
];
|
|
52
|
+
exports.default = Skel;
|
|
@@ -59,7 +59,6 @@ class ToolsStat extends core_1.Command {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
exports.default = ToolsStat;
|
|
63
62
|
ToolsStat.flags = {
|
|
64
63
|
help: core_1.Flags.help({ char: 'h' }),
|
|
65
64
|
month: core_1.Flags.boolean({ char: 'm', description: 'current month' }),
|
|
@@ -71,3 +70,4 @@ ToolsStat.examples = [
|
|
|
71
70
|
'eggs tools stat --month',
|
|
72
71
|
'eggs tools stat --year',
|
|
73
72
|
];
|
|
73
|
+
exports.default = ToolsStat;
|
|
@@ -40,7 +40,6 @@ class DevYolk extends core_1.Command {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
exports.default = DevYolk;
|
|
44
43
|
DevYolk.flags = {
|
|
45
44
|
help: core_1.Flags.help({ char: 'h' }),
|
|
46
45
|
verbose: core_1.Flags.boolean({ char: 'v' }),
|
|
@@ -50,3 +49,4 @@ DevYolk.examples = [
|
|
|
50
49
|
'sudo eggs yolk',
|
|
51
50
|
];
|
|
52
51
|
DevYolk.dir = '/var/local/yolk';
|
|
52
|
+
exports.default = DevYolk;
|
package/dist/commands/update.js
CHANGED
|
@@ -136,7 +136,6 @@ class Update extends core_1.Command {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
exports.default = Update;
|
|
140
139
|
Update.flags = {
|
|
141
140
|
help: core_1.Flags.help({ char: 'h' }),
|
|
142
141
|
verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' }),
|
|
@@ -145,3 +144,4 @@ Update.description = "update the Penguins' eggs tool";
|
|
|
145
144
|
Update.examples = [
|
|
146
145
|
'eggs update',
|
|
147
146
|
];
|
|
147
|
+
exports.default = Update;
|
|
@@ -42,7 +42,6 @@ class Get extends core_1.Command {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
exports.default = Get;
|
|
46
45
|
Get.flags = {
|
|
47
46
|
help: core_1.Flags.help({ char: 'h' }),
|
|
48
47
|
verbose: core_1.Flags.boolean({ char: 'v' }),
|
|
@@ -53,3 +52,4 @@ Get.examples = [
|
|
|
53
52
|
'eggs wardrobe get',
|
|
54
53
|
'eggs wardrobe get your-wardrobe',
|
|
55
54
|
];
|
|
55
|
+
exports.default = Get;
|
|
@@ -80,7 +80,6 @@ class List extends core_1.Command {
|
|
|
80
80
|
console.log();
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
exports.default = List;
|
|
84
83
|
List.flags = {
|
|
85
84
|
help: core_1.Flags.help({ char: 'h' }),
|
|
86
85
|
verbose: core_1.Flags.boolean({ char: 'v' }),
|
|
@@ -91,3 +90,4 @@ List.examples = [
|
|
|
91
90
|
'eggs wardrobe list',
|
|
92
91
|
'eggs wardrobe list your-wardrove',
|
|
93
92
|
];
|
|
93
|
+
exports.default = List;
|
|
@@ -65,7 +65,6 @@ class Show extends core_1.Command {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
exports.default = Show;
|
|
69
68
|
Show.flags = {
|
|
70
69
|
help: core_1.Flags.help({ char: 'h' }),
|
|
71
70
|
json: core_1.Flags.boolean({ char: 'j', description: 'output JSON' }),
|
|
@@ -79,3 +78,4 @@ Show.example = [
|
|
|
79
78
|
'eggs wardrobe show accessories/firmwares',
|
|
80
79
|
'eggs wardrobe show accessories/',
|
|
81
80
|
];
|
|
81
|
+
exports.default = Show;
|
|
@@ -79,7 +79,6 @@ class Wear extends core_1.Command {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
exports.default = Wear;
|
|
83
82
|
Wear.flags = {
|
|
84
83
|
help: core_1.Flags.help({ char: 'h' }),
|
|
85
84
|
no_accessories: core_1.Flags.boolean({ char: 'a', description: 'not install accessories' }),
|
|
@@ -95,3 +94,4 @@ Wear.examples = [
|
|
|
95
94
|
'sudo eggs wardrobe wear accessories/firmwares',
|
|
96
95
|
'sudo eggs wardrobe wear wagtail/waydroid',
|
|
97
96
|
];
|
|
97
|
+
exports.default = Wear;
|
package/eui/README.md
CHANGED
|
@@ -1,70 +1,63 @@
|
|
|
1
1
|
# eggs unattended install
|
|
2
2
|
|
|
3
|
-
Eggs unattended install
|
|
4
|
-
* ```eui-create-image.sh```
|
|
5
|
-
* ```eui-start.sh```
|
|
6
|
-
* ```eui-users```
|
|
7
|
-
* ```eui.desktop```
|
|
3
|
+
Eggs unattended install Is based on simple scripts:
|
|
4
|
+
* ```eui-create-image.sh``` creates the image;
|
|
5
|
+
* ```eui-start.sh``` is copied into ```/usr/bin/```
|
|
6
|
+
* ```eui-users``` contains the list of users enabled to sudo WITHOUT password, it is copied to ```/etc/sudoers.d/```;
|
|
7
|
+
* ```eui-autostart-[xfce/cinnamon].desktop``` starts automatic installation at login and is copied to ```/etc/xdg/autostart```.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The three files `eui-start.sh`, `eui-users` and `eui-*.desktop` are deleted from the destination directory as soon as the production of the image is completed
|
|
10
10
|
|
|
11
|
-
#
|
|
12
|
-
|
|
11
|
+
# Creation of an EUI image
|
|
12
|
+
To create an ISO with unattended-install capability, proceed as follows:
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
cd /usr/lib/penguins-eggs/eui
|
|
16
16
|
```
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Salvate ed avviare la creazione dell'immagine:
|
|
17
|
+
If necessary, modify the `eui-start.sh` file `sudo nano eui-start.sh` to select the desired language, swap configuration, and other possible configurations given in the source.
|
|
20
18
|
|
|
19
|
+
Save and start the image creation:
|
|
21
20
|
```
|
|
22
21
|
./eui-create-image.sh
|
|
23
22
|
```
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
An image with fast compression will be generated, and the cuckoo command will be started to distribute it.
|
|
25
|
+
|
|
26
|
+
**Note:** once the image is created. simply start 'eggs cuckoo' to distribute it, no need to regenerate it
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
#
|
|
29
|
+
# Differences of a UEI image versus a normal image
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
Self-starting of the installer is done through the following files:
|
|
31
32
|
|
|
32
33
|
* /etc/sudoers.d/eui-users
|
|
33
|
-
* /etc/xdg/autostart/eui.desktop
|
|
34
|
+
* /etc/xdg/autostart/eui-[xfce/cinnamon].desktop
|
|
34
35
|
* /usr/bin/eui-start.ch
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
You can select a particular customization or create your own, at the moment I am trying to adapt the customization to the various languages and we have:
|
|
37
38
|
|
|
38
|
-
* bg (
|
|
39
|
-
* br (
|
|
40
|
-
* de (
|
|
41
|
-
* es (
|
|
42
|
-
* fr (
|
|
43
|
-
* it (
|
|
44
|
-
* nl (
|
|
45
|
-
* pe (
|
|
46
|
-
* ru (
|
|
47
|
-
* uk (
|
|
39
|
+
* bg (Bulgarian)
|
|
40
|
+
* br (Brazilian Portuguese)
|
|
41
|
+
* de (German)
|
|
42
|
+
* es (Spanish)
|
|
43
|
+
* fr (French)
|
|
44
|
+
* it (Italian)
|
|
45
|
+
* nl (Dutch)
|
|
46
|
+
* pe (Spanish Peru)
|
|
47
|
+
* ru (Russian)
|
|
48
|
+
* uk (ukrainian)
|
|
48
49
|
|
|
49
50
|
## /etc/sudoers.d/eui-users
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
sudo nano /etc/sudoers.d/eui-users
|
|
54
|
-
```
|
|
55
|
-
and copy and past, following code:
|
|
52
|
+
It is copied inside `/etc/sudoers.d`, MUST be owned by root and have rights 0440
|
|
56
53
|
|
|
57
54
|
```
|
|
58
|
-
live ALL=(ALL) NOPASSWD:
|
|
59
|
-
artisan ALL=(ALL) NOPASSWD:
|
|
60
|
-
```
|
|
61
|
-
Change permissions to /etc/sudoers.d/eui-users
|
|
62
|
-
```
|
|
63
|
-
chmod 0440 /etc/sudoers.d/eui-users
|
|
55
|
+
live ALL=(ALL) NOPASSWD: ALL
|
|
56
|
+
artisan ALL=(ALL) NOPASSWD: ALL
|
|
64
57
|
```
|
|
65
58
|
|
|
66
|
-
## /etc/xdg/autostart/eui.desktop
|
|
67
|
-
|
|
59
|
+
## /etc/xdg/autostart/eui-autostart-[xdce/cinnamon].desktop
|
|
60
|
+
It is the file that makes it possible to auto-start the installer: there are currently two working versions, one for XFCE and one for cinnamon;
|
|
68
61
|
|
|
69
62
|
```
|
|
70
63
|
[Desktop Entry]
|
|
@@ -72,19 +65,18 @@ Encoding=UTF-8
|
|
|
72
65
|
Name=Eggs unattended install
|
|
73
66
|
Comment=Start unattended installation
|
|
74
67
|
Icon=cinnamon-symbolic
|
|
75
|
-
Exec=sudo /usr/bin/eui-start.sh
|
|
76
|
-
Terminal=true
|
|
77
68
|
Type=Application
|
|
78
69
|
Categories=
|
|
79
70
|
X-GNOME-Autostart-Phase=Initialization
|
|
80
71
|
X-KDE-autostart-phase=1
|
|
81
72
|
X-KDE-AutostartScript=true
|
|
73
|
+
# XFCE working
|
|
74
|
+
Exec=/usr/bin/sudo /usr/bin/eui-start.sh
|
|
75
|
+
Terminal=true
|
|
82
76
|
```
|
|
83
77
|
|
|
84
78
|
## /usr/bin/eui-start.sh
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
Si noti il nuovo flag --halt, introdotto per spegnere la macchina dopo l'installazione ed evitare. quindi, ulteriori tentativi nel caso di computer abilitati PXE e con primo dispositivo di boot PXE.
|
|
79
|
+
Currently, customization of the installation, MUST be done by editing this file.
|
|
88
80
|
|
|
89
81
|
```
|
|
90
82
|
set -Eeuo pipefail
|
|
@@ -144,3 +136,12 @@ else
|
|
|
144
136
|
sudo rm -f /etc/xdg/autostart/eui.desktop
|
|
145
137
|
fi
|
|
146
138
|
```
|
|
139
|
+
**Note:** look at the new `--halt` flag, introduced to shut down the machine after installation and avoid. thus, further attempts in the case of PXE-enabled computers and with first PXE boot device.
|
|
140
|
+
|
|
141
|
+
# Video
|
|
142
|
+
I am not very skilled at producing movies, even less so as an actor, I made this videos, I hope it will help you.
|
|
143
|
+
|
|
144
|
+
* [using PXE and EUI from ISO](https://youtu.be/rYvCzGO3V6k)
|
|
145
|
+
* [Create a Live EUI - Eggs Unattended Installation](https://youtu.be/QBjkxxoc8ho)
|
|
146
|
+
|
|
147
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[Desktop Entry]
|
|
2
|
+
Encoding=UTF-8
|
|
3
|
+
Name=Eggs unattended install
|
|
4
|
+
Comment=Start unattended installation
|
|
5
|
+
Icon=cinnamon-symbolic
|
|
6
|
+
Type=Application
|
|
7
|
+
Categories=
|
|
8
|
+
X-GNOME-Autostart-Phase=Initialization
|
|
9
|
+
X-KDE-autostart-phase=1
|
|
10
|
+
X-KDE-AutostartScript=true
|
|
11
|
+
|
|
12
|
+
# XFCE working
|
|
13
|
+
Exec=/usr/bin/sudo /usr/bin/eui-start.sh
|
|
14
|
+
Terminal=true
|
|
15
|
+
|
|
16
|
+
# Cinnamon working
|
|
17
|
+
#Exec=/usr/bin/gnome-terminal -- /usr/bin/sudo /usr/bin/eui-start.sh
|
|
18
|
+
#Terminal=false
|
|
19
|
+
|
|
20
|
+
# GNOME/PLASMA NOT working
|
|
21
|
+
# Exec=/usr/bin/sudo /usr/bin/eui-start.sh
|
|
22
|
+
# Terminal=true
|
|
23
|
+
|
|
24
|
+
# GNOME/PLASMA NOT working
|
|
25
|
+
# Exec=/usr/bin/gnome-terminal -- /usr/bin/sudo /usr/bin/eui-start.sh
|
|
26
|
+
# Terminal=false
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[Desktop Entry]
|
|
2
|
+
Encoding=UTF-8
|
|
3
|
+
Name=Eggs unattended install
|
|
4
|
+
Comment=Start unattended installation
|
|
5
|
+
Icon=cinnamon-symbolic
|
|
6
|
+
Type=Application
|
|
7
|
+
Categories=
|
|
8
|
+
X-GNOME-Autostart-Phase=Initialization
|
|
9
|
+
X-KDE-autostart-phase=1
|
|
10
|
+
X-KDE-AutostartScript=true
|
|
11
|
+
# cinnamon working
|
|
12
|
+
Exec=/usr/bin/gnome-terminal -- /usr/bin/sudo /usr/bin/eui-start.sh
|
|
13
|
+
Terminal=false
|
|
@@ -3,10 +3,11 @@ Encoding=UTF-8
|
|
|
3
3
|
Name=Eggs unattended install
|
|
4
4
|
Comment=Start unattended installation
|
|
5
5
|
Icon=cinnamon-symbolic
|
|
6
|
-
Exec=sudo /usr/bin/eui-start.sh
|
|
7
|
-
Terminal=true
|
|
8
6
|
Type=Application
|
|
9
7
|
Categories=
|
|
10
8
|
X-GNOME-Autostart-Phase=Initialization
|
|
11
9
|
X-KDE-autostart-phase=1
|
|
12
10
|
X-KDE-AutostartScript=true
|
|
11
|
+
# XFCE working
|
|
12
|
+
Exec=/usr/bin/sudo /usr/bin/eui-start.sh
|
|
13
|
+
Terminal=true
|
package/eui/eui-create-image.sh
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
|
+
set -Eeuo pipefail
|
|
2
3
|
sudo eggs tools clean -n
|
|
3
4
|
sudo eggs tools ppa -n
|
|
4
5
|
sudo eggs kill -n
|
|
5
6
|
sudo cp eui-users /etc/sudoers.d/
|
|
6
7
|
sudo cp eui-start.sh /usr/bin/
|
|
7
|
-
|
|
8
|
+
DESKTOP=$XDG_CURRENT_DESKTOP
|
|
9
|
+
case $DESKTOP in
|
|
10
|
+
"XFCE")
|
|
11
|
+
sudo cp eui-autostart-xfce.desktop /etc/xdg/autostart/
|
|
12
|
+
;;
|
|
13
|
+
|
|
14
|
+
"X-Cinnamon")
|
|
15
|
+
sudo cp eui-autostart-cinnamon.desktop /etc/xdg/autostart/
|
|
16
|
+
;;
|
|
17
|
+
|
|
18
|
+
"ubuntu:GNOME")
|
|
19
|
+
echo "not yet supported!"
|
|
20
|
+
exit 0
|
|
21
|
+
;;
|
|
22
|
+
esac
|
|
8
23
|
sudo eggs produce --release -n
|
|
9
24
|
sudo rm /etc/sudoers.d/eui-users
|
|
10
25
|
sudo rm /usr/bin/eui-start.sh
|
|
11
|
-
sudo rm /etc/xdg/autostart/eui
|
|
26
|
+
sudo rm /etc/xdg/autostart/eui-*.desktop
|
|
12
27
|
sudo eggs cuckoo
|
|
13
|
-
|
package/eui/eui-start.sh
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
set -Eeuo pipefail
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
4
6
|
if mountpoint -q "/lib/live/mount"; then
|
|
5
7
|
# if isLive
|
|
6
8
|
echo "E G G S: the reproductive system of penguins"
|
|
@@ -48,12 +50,14 @@ if mountpoint -q "/lib/live/mount"; then
|
|
|
48
50
|
# -s, --small Swap small: RAM
|
|
49
51
|
# -u, --unattended Unattended installation
|
|
50
52
|
# -v, --verbose Verbose
|
|
53
|
+
|
|
54
|
+
# on XFCE we are sudo
|
|
51
55
|
eggs install --custom=it --domain=.local --random --nointeractive --halt
|
|
52
56
|
else
|
|
53
57
|
# isInstalled
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
58
|
+
rm -f /etc/sudoers.d/eui-users
|
|
59
|
+
rm -f /usr/bin/eui-start.sh
|
|
60
|
+
rm -f /etc/xdg/autostart/eui.desktop
|
|
57
61
|
fi
|
|
58
62
|
|
|
59
63
|
|
package/eui/eui-users
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
live ALL=(ALL) NOPASSWD:
|
|
2
|
-
artisan ALL=(ALL) NOPASSWD:
|
|
1
|
+
live ALL=(ALL) NOPASSWD: ALL
|
|
2
|
+
artisan ALL=(ALL) NOPASSWD: ALL
|
|
3
|
+
|
|
Binary file
|