penguins-eggs 9.6.21 → 9.6.22

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.
@@ -49,6 +49,22 @@ class Produce extends core_1.Command {
49
49
  /**
50
50
  * composizione dei flag
51
51
  */
52
+ // filters
53
+ const filters = {};
54
+ filters.homes = false;
55
+ filters.dev = false;
56
+ filters.custom = false;
57
+ if (flags.filters) {
58
+ if (flags.filters.includes('homes')) {
59
+ filters.homes = true;
60
+ }
61
+ if (flags.filters.includes('dev')) {
62
+ filters.dev = true;
63
+ }
64
+ if (flags.filters.includes('custom')) {
65
+ filters.custom = true;
66
+ }
67
+ }
52
68
  let prefix = '';
53
69
  if (flags.prefix !== undefined) {
54
70
  prefix = flags.prefix;
@@ -64,7 +80,7 @@ class Produce extends core_1.Command {
64
80
  compression = compressors.max();
65
81
  }
66
82
  else if (flags.standard) {
67
- compression = compressors.normal();
83
+ compression = compressors.standard();
68
84
  }
69
85
  const release = flags.release;
70
86
  const cryptedclone = flags.cryptedclone;
@@ -120,7 +136,7 @@ class Produce extends core_1.Command {
120
136
  const ovary = new ovary_1.default();
121
137
  utils_1.default.warning('Produce an egg...');
122
138
  if (await ovary.fertilization(prefix, basename, theme, compression, !nointeractive)) {
123
- await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, nointeractive, noicons, unsecure, verbose);
139
+ await ovary.produce(clone, cryptedclone, scriptOnly, yolkRenew, release, myAddons, filters, nointeractive, noicons, unsecure, verbose);
124
140
  ovary.finished(scriptOnly);
125
141
  }
126
142
  }
@@ -134,6 +150,7 @@ Produce.flags = {
134
150
  basename: core_1.Flags.string({ description: 'basename' }),
135
151
  clone: core_1.Flags.boolean({ char: 'c', description: 'clone' }),
136
152
  cryptedclone: core_1.Flags.boolean({ char: 'C', description: 'crypted clone' }),
153
+ filters: core_1.Flags.string({ multiple: true, description: 'filters can be used: custom. dev, homes' }),
137
154
  help: core_1.Flags.help({ char: 'h' }),
138
155
  max: core_1.Flags.boolean({ char: 'm', description: 'max compression' }),
139
156
  noicons: core_1.Flags.boolean({ char: 'N', description: 'no icons on desktop' }),
@@ -143,7 +160,7 @@ Produce.flags = {
143
160
  script: core_1.Flags.boolean({ char: 's', description: 'script mode. Generate scripts to manage iso build' }),
144
161
  standard: core_1.Flags.boolean({ char: 'f', description: 'standard compression' }),
145
162
  theme: core_1.Flags.string({ description: 'theme for livecd, calamares branding and partitions' }),
146
- unsecure: core_1.Flags.boolean({ char: 'u', description: 'include /home/* and full /root contents on live' }),
163
+ unsecure: core_1.Flags.boolean({ char: 'u', description: '/root contents are included on live' }),
147
164
  verbose: core_1.Flags.boolean({ char: 'v', description: 'verbose' }),
148
165
  yolk: core_1.Flags.boolean({ char: 'y', description: 'force yolk renew' }),
149
166
  };
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ // export interface IAddons {}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //export interface IFilters { }
Binary file
@@ -6,10 +6,10 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  </head>
8
8
  <body>
9
- <h1>eggs(1) -- the reproductive system of penguins: eggs v9.6.21</h1>
9
+ <h1>eggs(1) -- the reproductive system of penguins: eggs v9.6.22</h1>
10
10
  <h1>SYNOPSIS</h1>
11
11
  <p>Install Debian families (debian/devuan/ubuntu)</p>
12
- <pre><code>$ sudo dpkg -i eggs_9.6.21_amd64.deb
12
+ <pre><code>$ sudo dpkg -i eggs_9.6.22_amd64.deb
13
13
  </code></pre>
14
14
  <p>Install Arch families (Arch, manjaro Linux)</p>
15
15
  <p>Arch from AUR</p>
@@ -30,7 +30,7 @@ $ makepkg -si
30
30
  <h1>USAGE</h1>
31
31
  <pre><code>$ eggs (-v|--version|version)
32
32
 
33
- penguins-eggs/9.6.21 linux-x64 node-v18.17.1
33
+ penguins-eggs/9.6.22 linux-x64 node-v18.17.1
34
34
  $ eggs --help [COMMAND]
35
35
 
36
36
  USAGE
@@ -356,6 +356,7 @@ FLAGS
356
356
  -y, --yolk force yolk renew
357
357
  --addons=&#x3C;value>... addons to be used: adapt, ichoice, pve, rsupport
358
358
  --basename=&#x3C;value> basename
359
+ --filters=&#x3C;value>... filters to be used: custom. dev, homes
359
360
  --release release: max compression, remove penguins-eggs and calamares after installation
360
361
  --theme=&#x3C;value> theme for livecd, calamares branding and partitions
361
362
 
@@ -646,7 +647,7 @@ EXAMPLES
646
647
  <pre><code> /etc/penguins-eggs.d
647
648
  all eggs configurations are here
648
649
 
649
- /usr/local/share/penguins-eggs/exclude.list
650
+ /etc/penguins-eggs.d/exclude.list
650
651
  exclude.list rsync
651
652
 
652
653
  /usr/lib/penguins-eggs (deb package)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "penguins-eggs",
3
3
  "description": "Perri's Brewery edition: remaster your system and distribuite it",
4
- "version": "9.6.21",
4
+ "version": "9.6.22",
5
5
  "author": "Piero Proietti @pieroproietti",
6
6
  "bin": {
7
7
  "eggs": "bin/run"
package/scripts/_eggs CHANGED
@@ -169,6 +169,7 @@ produce)
169
169
  "--basename=-[basename]:"
170
170
  "--clone[clone]"
171
171
  "--cryptedclone[crypted clone]"
172
+ "--filters=-[filters to be used: homes]:"
172
173
  "--help[Show CLI help.]"
173
174
  "--max[max compression]"
174
175
  "--noicons[no icons on desktop]"
package/scripts/eggs.bash CHANGED
@@ -23,7 +23,7 @@ install --crypted --custom --domain --halt --help --ip --nointeractive --none --
23
23
  krill --crypted --custom --domain --halt --help --ip --nointeractive --none --pve --random --small --suspend --unattended --verbose
24
24
  kill --help --nointeractive --isos --verbose
25
25
  mom --help
26
- produce --addons --basename --clone --cryptedclone --help --max --noicons --nointeractive --prefix --release --script --standard --theme --unsecure --verbose --yolk
26
+ produce --addons --basename --clone --cryptedclone --filters --help --max --noicons --nointeractive --prefix --release --script --standard --theme --unsecure --verbose --yolk
27
27
  status --help --verbose
28
28
  syncfrom --delete --file --help --rootdir --verbose
29
29
  syncto --delete --file --help --verbose
@@ -1,194 +0,0 @@
1
- #!/bin/sh
2
-
3
- PROC_CMDLINE=$(cat /proc/cmdline)
4
- CONF_CMDLINE=$(grep ^CONFIG_CMDLINE= /boot/config-$(uname -r) 2>/dev/null | cut -d\" -f2 | tail -1)
5
-
6
- CMD_LINE=""
7
- for param in $PROC_CMDLINE; do
8
- x=x
9
- for conf in $CONF_CMDLINE; do
10
- [ "$conf" = "$param" ] && x="" && break
11
- done
12
- [ -n "$x" ] && CMD_LINE="$CMD_LINE $param"
13
- done
14
-
15
- for param in $CMD_LINE; do
16
- case $param in
17
-
18
- menus) ;;
19
- menus=*) ;;
20
- old-conf) ;;
21
- new-conf) ;;
22
- splash) ;;
23
- splash=*) ;;
24
- poweroff) ;;
25
- reboot) ;;
26
- bootdir=*|bdir=*) ;;
27
- bootlabel=*|blabel=*|blab=*) ;;
28
- bootuuid=*|buuid=*) ;;
29
- bootdev=*|bdev=*) ;;
30
-
31
- try=*|retry=*) ;;
32
-
33
- persistdir=*|pdir=*) ;;
34
-
35
- persistlabel=*|plabel=*|plab=*) ;;
36
- persistuuid=*|puuid=*) ;;
37
- persistdev=*|pdev=*) ;;
38
-
39
- persistretry=*|pretry=*|ptry=*) ;;
40
-
41
- dbv=*) ;;
42
- fneed=*) ;;
43
- fforce) ;;
44
- frugal) ;;
45
- frugal=*) ;;
46
- flab=*) ;;
47
- fdev=*) ;;
48
- fuuid=*) ;;
49
-
50
- iso=*|fromiso=*) ;;
51
- iso|fromiso) ;;
52
-
53
- from=*) ;;
54
-
55
- persist=*|p=*) ;;
56
- persist) ;;
57
-
58
- sqext=*) ;;
59
- sqname=*) ;;
60
- sq=*) ;;
61
-
62
- verbose=*|verb=*|v=*) ;;
63
- bp=*) ;;
64
- pk=*) ;;
65
-
66
- check|md5|checkmd5) ;;
67
- hico|highcolor) ;;
68
- loco|lowcolor) ;;
69
- noco|nocolor) ;;
70
-
71
- noxtra) ;;
72
- doxtra) ;;
73
-
74
- db+) ;;
75
- db++) ;;
76
-
77
- fancyprompt|fprompt) ;;
78
- autologin|alogin) ;;
79
-
80
- toram|toram=*) ;;
81
-
82
- noremaster) ;;
83
- rollback) ;;
84
- lang=*) ;;
85
-
86
- noclear) ;;
87
- gfxsave|gfxsave=*) ;;
88
-
89
- checkfs) ;;
90
- nocheckfs) ;;
91
-
92
- failsafe) ;;
93
- load=*) ;;
94
- bl=*|blacklist=*) ;;
95
-
96
- coldplug) ;;
97
- hotplug) ;;
98
- traceload) ;;
99
- autoload|aload) ;;
100
-
101
- init=*) ;;
102
-
103
- nousb2|noehci) ;;
104
-
105
- noerrlog) ;;
106
- errtest) ;;
107
- errtest=*) ;;
108
- noerr=*) ;;
109
-
110
- vtblank=*) ;;
111
-
112
- livedir=*|ldir=*) ;;
113
- pw|passwd|pw=*|passwd=*) ;;
114
- private|private=*) ;;
115
- bootchart) ;;
116
- noplink) ;;
117
- plink) ;;
118
-
119
- disable=*|nosysv=*) ;;
120
- disable_srv=*|disable_service=*) ;;
121
- lean|mean|Xtralean|nodbus) ;;
122
- initcall_debug|printk.time=y) ;;
123
-
124
- # Convenience short cuts from our menus
125
- persist_all) ;;
126
- persist_root) ;;
127
- persist_static) ;;
128
- p_static_root) ;;
129
- persist_home) ;;
130
- frugal_persist) ;;
131
- frugal_root) ;;
132
- frugal_static) ;;
133
- f_static_root) ;;
134
- frugal_home) ;;
135
- frugal_only) ;;
136
- nostore) ;;
137
- dostore) ;;
138
- disablestore) ;;
139
- fatuid=*|fatgid=*) ;;
140
- live_swap=*) ;;
141
- mk_swap_file) ;;
142
- mk_swap_file=*) ;;
143
- notmptmp) ;;
144
- nomicrocode) ;;
145
- nosavelogs) ;;
146
- tty1on) ;;
147
- splasht) ;;
148
- splasht=*) ;;
149
- st_tty=*) ;;
150
- vcard=*) ;;
151
-
152
- # Our Live params
153
- hwclock=utc|hwclock=local|xorg|xorg=*|noearlyvid|earlyvid) ;;
154
- amnt|amnt=*|automount|automount=*|confont=*|conkeys=*);;
155
- desktop=*|dpi=*|fstab=*|hostname=*|kbd=*|kbopt=*|kbvar=*);;
156
- lang=*|mirror=*|mount=*|noloadkeys|noprompt);;
157
- nosplash|password|password=*|prompt|pw|pw=*|tz=*|ubp=*|ushow=*);;
158
- uverb=*|xres=*|noxorg);;
159
- desktheme=*) ;;
160
- nosavestate|savestate|dbsavestate) ;;
161
- deskdelay=*) ;;
162
- udpi=*|sdpi=*) ;;
163
- fontsize=*) ;;
164
- norepo|norepo=*) ;;
165
- conwidth=*);;
166
- noautomount) ;;
167
- vga=ask+save) ;;
168
-
169
- skylakeflicker) ;;
170
- i915powersave) ;;
171
-
172
- aufs|overlayfs) ;;
173
- wicd|nowicd) ;;
174
-
175
- nomicrocode) ;;
176
- live_swap=off) ;;
177
- live_swap=force) ;;
178
- live_swap=all-off) ;;
179
- mk_swap_file=*) ;;
180
-
181
- # Added by Grub
182
- BOOT_IMAGE=*) ;;
183
-
184
- # Sometimes added with grub loop mounts
185
- *root=*) ;;
186
-
187
- # Added by live-Grub menu
188
- grubsave) ;;
189
- kernel=*) ;;
190
- extra=*) ;;
191
-
192
- *) printf "%s " "$param"
193
- esac
194
- done