penguins-eggs 8.1.3 → 9.0.16
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/README.md +332 -168
- package/addons/README.md +78 -84
- package/addons/{pve → blissos}/theme/applications/install-debian.desktop +0 -0
- package/addons/{deblinux → blissos}/theme/artwork/install-debian.png +0 -0
- package/addons/blissos/theme/calamares/branding/blissos-logo.png +0 -0
- package/addons/{guadalinex → blissos}/theme/calamares/branding/branding.desc +0 -0
- package/addons/blissos/theme/calamares/branding/languages.png +0 -0
- package/addons/blissos/theme/calamares/branding/show.qml +75 -0
- package/addons/blissos/theme/calamares/branding/slide1.png +0 -0
- package/addons/blissos/theme/calamares/branding/slide2.png +0 -0
- package/addons/blissos/theme/calamares/branding/slide3.png +0 -0
- package/addons/blissos/theme/calamares/branding/welcome.png +0 -0
- package/addons/{guadalinex → blissos}/theme/calamares/modules/partition.yml +1 -1
- package/{conf/distros/buster/grub/theme.cfg → addons/blissos/theme/livecd/grub.theme.cfg} +10 -9
- package/{conf/distros/buster/isolinux/stdmenu.template.cfg → addons/blissos/theme/livecd/isolinux.theme.cfg} +4 -0
- package/addons/blissos/theme/livecd/splash.png +0 -0
- package/addons/eggs/adapt/applications/eggs-adapt.desktop +1 -1
- package/addons/eggs/theme/calamares/branding/show.qml +1 -1
- package/addons/eggs/theme/livecd/README.md +19 -6
- package/addons/eggs/theme/livecd/{theme.cfg → grub.theme.cfg} +13 -12
- package/addons/eggs/theme/livecd/isolinux.theme.cfg +46 -0
- package/addons/eggs/theme/livecd/splash.png +0 -0
- package/addons/{ufficiozero/theme/livecd/theme.cfg → neon/theme/livecd/grub.theme.cfg} +13 -12
- package/addons/neon/theme/livecd/isolinux.theme.cfg +46 -0
- package/addons/neon/theme/livecd/splash.png +0 -0
- package/addons/templates/grub.template +28 -0
- package/addons/templates/isolinux.template +29 -0
- package/addons/ufficiozero/theme/applications/install-debian.desktop +17 -2
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +2 -4
- package/conf/distros/bionic/calamares/settings.yml +5 -5
- package/conf/distros/bookworm/README.md +9 -0
- package/conf/distros/bullseye/README.md +6 -8
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.sh +1 -1
- package/conf/distros/buster/calamares/calamares-modules/sources-yolk/sources-yolk.working.sh +1 -1
- package/conf/distros/buster/calamares/modules/shellprocess_eggs-cleanup.yml +6 -0
- package/conf/distros/buster/calamares/settings.yml +14 -3
- package/conf/distros/chimaera/README.md +3 -0
- package/conf/distros/daedalus/README.md +3 -0
- package/conf/distros/focal/calamares/settings.yml +2 -2
- package/conf/distros/hirsute/README.md +1 -1
- package/conf/distros/impish/README.md +9 -0
- package/conf/distros/jammy/README.md +9 -0
- package/conf/distros/jessie/krill/krill-modules/sources-yolk/sources-yolk.sh +1 -1
- package/conf/distros/rolling/README.md +3 -0
- package/conf/distros/rolling/calamares/calamares-modules/remove-link/module.yml +9 -0
- package/conf/distros/rolling/calamares/calamares-modules/remove-link/remove-link.sh +3 -0
- package/conf/distros/rolling/calamares/modules/displaymanager.yml +22 -0
- package/conf/distros/rolling/calamares/modules/finished.yml +6 -0
- package/conf/distros/rolling/calamares/modules/fstab.yml +13 -0
- package/conf/distros/rolling/calamares/modules/locale.yml +97 -0
- package/conf/distros/rolling/calamares/modules/luksopenswaphookcfg.yml +6 -0
- package/conf/distros/rolling/calamares/modules/mount.yml +38 -0
- package/conf/distros/rolling/calamares/modules/packages.yml +8 -0
- package/conf/distros/rolling/calamares/modules/removeuser.yml +15 -0
- package/conf/distros/rolling/calamares/modules/unpackfs.yml +7 -0
- package/conf/distros/rolling/calamares/modules/users.yml +20 -0
- package/conf/distros/rolling/calamares/modules/welcome.yml +19 -0
- package/conf/distros/{bullseye → rolling}/calamares/settings.yml +17 -12
- package/conf/distros/thirtyfive/README.md +3 -0
- package/conf/distros/tumbleweed/README.md +3 -0
- package/conf/eggs.yaml +3 -3
- package/conf/exclude.list +12 -7
- package/conf/tools.yaml +1 -1
- package/lib/classes/basket.js +24 -20
- package/lib/classes/bleach.js +19 -19
- package/lib/classes/compressors.js +15 -14
- package/lib/classes/daddy.js +44 -31
- package/lib/classes/distro.d.ts +3 -2
- package/lib/classes/distro.js +314 -175
- package/lib/classes/family/archlinux.d.ts +69 -0
- package/lib/classes/family/archlinux.js +182 -0
- package/lib/classes/family/debian.d.ts +64 -0
- package/lib/classes/family/debian.js +227 -0
- package/lib/classes/family/fedora.d.ts +63 -0
- package/lib/classes/family/fedora.js +169 -0
- package/lib/classes/family/suse.d.ts +63 -0
- package/lib/classes/family/suse.js +169 -0
- package/lib/classes/i18n.js +16 -16
- package/lib/classes/incubation/branding.js +5 -4
- package/lib/classes/incubation/distros/bionic.js +1 -2
- package/lib/classes/incubation/distros/buster.js +2 -2
- package/lib/classes/incubation/distros/focal.js +3 -2
- package/lib/classes/incubation/distros/jessie.js +1 -25
- package/lib/classes/incubation/distros/{bullseye.d.ts → rolling.d.ts} +3 -3
- package/lib/classes/incubation/distros/{bullseye.js → rolling.js} +15 -16
- package/lib/classes/incubation/fisherman-helper/displaymanager.js +2 -7
- package/lib/classes/incubation/fisherman-helper/packages.js +31 -32
- package/lib/classes/incubation/fisherman.d.ts +17 -17
- package/lib/classes/incubation/fisherman.js +84 -71
- package/lib/classes/incubation/incubator.js +116 -74
- package/lib/classes/incubation/installer.d.ts +2 -2
- package/lib/classes/incubation/installer.js +6 -20
- package/lib/classes/initrd.d.ts +1 -1
- package/lib/classes/initrd.js +37 -30
- package/lib/classes/krill_install.d.ts +4 -4
- package/lib/classes/krill_install.js +166 -162
- package/lib/classes/krill_prepare.d.ts +6 -2
- package/lib/classes/krill_prepare.js +73 -60
- package/lib/classes/n8.js +6 -11
- package/lib/classes/ovary.d.ts +34 -25
- package/lib/classes/ovary.js +771 -688
- package/lib/classes/pacman.d.ts +55 -56
- package/lib/classes/pacman.js +524 -436
- package/lib/classes/pve-live.js +6 -6
- package/lib/classes/settings.js +47 -56
- package/lib/classes/systemctl.d.ts +6 -6
- package/lib/classes/systemctl.js +7 -7
- package/lib/classes/tools.d.ts +1 -1
- package/lib/classes/tools.js +10 -10
- package/lib/classes/users.d.ts +21 -0
- package/lib/classes/users.js +129 -0
- package/lib/classes/utils.d.ts +10 -13
- package/lib/classes/utils.js +128 -107
- package/lib/classes/xdg.js +112 -91
- package/lib/classes/yolk.js +38 -31
- package/lib/commands/adapt.d.ts +3 -3
- package/lib/commands/adapt.js +12 -12
- package/lib/commands/analyze.d.ts +25 -0
- package/lib/commands/analyze.js +74 -0
- package/lib/commands/bro.d.ts +14 -0
- package/lib/commands/bro.js +31 -0
- package/lib/commands/calamares.d.ts +7 -7
- package/lib/commands/calamares.js +22 -54
- package/lib/commands/config.d.ts +5 -5
- package/lib/commands/config.js +69 -79
- package/lib/commands/dad.d.ts +5 -5
- package/lib/commands/dad.js +11 -11
- package/lib/commands/export/deb.d.ts +8 -8
- package/lib/commands/export/deb.js +16 -16
- package/lib/commands/export/docs.d.ts +2 -2
- package/lib/commands/export/docs.js +9 -9
- package/lib/commands/export/iso.d.ts +4 -4
- package/lib/commands/export/iso.js +12 -17
- package/lib/commands/info.d.ts +9 -3
- package/lib/commands/info.js +14 -164
- package/lib/commands/install.d.ts +5 -5
- package/lib/commands/install.js +28 -42
- package/lib/commands/kill.d.ts +3 -3
- package/lib/commands/kill.js +11 -13
- package/lib/commands/mom.d.ts +2 -2
- package/lib/commands/mom.js +8 -8
- package/lib/commands/produce.d.ts +14 -14
- package/lib/commands/produce.js +48 -46
- package/lib/commands/remove.d.ts +5 -5
- package/lib/commands/remove.js +46 -57
- package/lib/commands/syncfrom.d.ts +37 -0
- package/lib/commands/syncfrom.js +156 -0
- package/lib/commands/syncto.d.ts +48 -0
- package/lib/commands/syncto.js +219 -0
- package/lib/commands/tools/clean.d.ts +3 -3
- package/lib/commands/tools/clean.js +10 -12
- package/lib/commands/tools/locales.d.ts +4 -4
- package/lib/commands/tools/locales.js +8 -8
- package/lib/commands/tools/skel.d.ts +4 -4
- package/lib/commands/tools/skel.js +10 -15
- package/lib/commands/tools/stat.d.ts +7 -4
- package/lib/commands/tools/stat.js +20 -13
- package/lib/commands/tools/yolk.d.ts +3 -3
- package/lib/commands/tools/yolk.js +13 -13
- package/lib/commands/update.d.ts +5 -10
- package/lib/commands/update.js +56 -72
- package/lib/components/elements/information.d.ts +4 -0
- package/lib/components/elements/information.js +166 -0
- package/lib/components/elements/steps.js +1 -1
- package/lib/components/elements/title.js +7 -10
- package/lib/components/finished.js +5 -5
- package/lib/components/install.js +5 -5
- package/lib/components/keyboard.js +5 -5
- package/lib/components/location.js +5 -5
- package/lib/components/network.js +5 -5
- package/lib/components/partitions.d.ts +2 -1
- package/lib/components/partitions.js +9 -7
- package/lib/components/summary.js +5 -5
- package/lib/components/users.js +6 -6
- package/lib/components/welcome.js +6 -6
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/lib/interfaces/i-analyze.d.ts +13 -0
- package/lib/interfaces/i-analyze.js +18 -0
- package/lib/interfaces/i-distro.d.ts +3 -2
- package/lib/interfaces/i-krill.d.ts +1 -0
- package/lib/interfaces/i-settings.d.ts +2 -2
- package/lib/lib/cli-autologin.d.ts +19 -2
- package/lib/lib/cli-autologin.js +114 -39
- package/lib/lib/dependencies.d.ts +9 -6
- package/lib/lib/dependencies.js +22 -13
- package/lib/lib/get_address.js +2 -2
- package/lib/lib/get_dns.js +2 -2
- package/lib/lib/get_domain.js +2 -2
- package/lib/lib/get_gateway.js +2 -2
- package/lib/lib/get_hostname.js +2 -2
- package/lib/lib/get_netmask.js +2 -2
- package/lib/lib/get_password.js +3 -2
- package/lib/lib/get_root_password.js +2 -2
- package/lib/lib/get_userfullname.js +2 -2
- package/lib/lib/get_username.js +2 -2
- package/lib/lib/select_address_type.js +2 -5
- package/lib/lib/select_filesystem_type.js +5 -14
- package/lib/lib/select_installation_device.js +3 -3
- package/lib/lib/select_interface.js +1 -1
- package/lib/lib/select_keyboard_layout.js +2 -10
- package/lib/lib/select_languages.js +2 -2
- package/lib/lib/select_regions.js +1 -12
- package/lib/lib/select_user_swap_choice.js +4 -4
- package/lib/lib/select_zones.js +483 -62
- package/manpages/doc/man/eggs.html +508 -0
- package/manpages/doc/man/eggs.roll.gz +0 -0
- package/oclif.manifest.json +1 -1
- package/package.json +115 -107
- package/scripts/_eggs +275 -0
- package/scripts/bros/waydroid-helper.sh +92 -0
- package/scripts/eggs.bash +68 -19
- package/scripts/mom-cli.sh +6 -5
- package/scripts/not-used/eggs-cleanup.sh +7 -0
- package/scripts/not-used/install-eggs-ppa.sh +2 -0
- package/scripts/{mkinitramfs → not-used/mkinitramfs} +0 -0
- package/scripts/{pve-live.sh → not-used/pve-live.sh} +0 -0
- package/addons/debian/theme/applications/install-debian.desktop +0 -13
- package/addons/debian/theme/artwork/install-debian.png +0 -0
- package/addons/debian/theme/branding/branding.desc +0 -27
- package/addons/debian/theme/branding/debian-logo.png +0 -0
- package/addons/debian/theme/branding/show.qml +0 -51
- package/addons/debian/theme/branding/slide1.png +0 -0
- package/addons/debian/theme/branding/welcome.png +0 -0
- package/addons/deblinux/theme/README.md +0 -16
- package/addons/deblinux/theme/applications/install-debian.desktop +0 -13
- package/addons/deblinux/theme/calamares/branding/branding.desc +0 -23
- package/addons/deblinux/theme/calamares/branding/deblinux-logo.png +0 -0
- package/addons/deblinux/theme/calamares/branding/show.qml +0 -46
- package/addons/deblinux/theme/calamares/branding/slide1.png +0 -0
- package/addons/deblinux/theme/calamares/branding/welcome.png +0 -0
- package/addons/deblinux/theme/calamares/modules/partition.yml +0 -233
- package/addons/eggs/theme/calamares/branding/4tation.png +0 -0
- package/addons/eggs/theme/livecd/grub.template.cfg +0 -60
- package/addons/eggs/theme/livecd/menu.template.cfg +0 -54
- package/addons/guadalinex/theme/README.md +0 -9
- package/addons/guadalinex/theme/applications/install-debian.desktop +0 -28
- package/addons/guadalinex/theme/artwork/install-debian.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/guadalinex-logo.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/show.qml +0 -85
- package/addons/guadalinex/theme/calamares/branding/slide1.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide2.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide3.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide4.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide5.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide6.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/slide7.png +0 -0
- package/addons/guadalinex/theme/calamares/branding/welcome.png +0 -0
- package/addons/guadalinex/theme/livecd/menu.template.cfg +0 -54
- package/addons/guadalinex/theme/livecd/splash.png +0 -0
- package/addons/guadalinex/theme/livecd/theme.cfg +0 -42
- package/addons/openos/theme/applications/Install-OpenOS-Neon_RLTS-Desktop.png +0 -0
- package/addons/openos/theme/applications/install-debian.desktop +0 -24
- package/addons/openos/theme/artwork/install-debian.png +0 -0
- package/addons/openos/theme/calamares/branding/branding.desc +0 -28
- package/addons/openos/theme/calamares/branding/openos-logo.png +0 -0
- package/addons/openos/theme/calamares/branding/show.qml +0 -203
- package/addons/openos/theme/calamares/branding/slide1.png +0 -0
- package/addons/openos/theme/calamares/branding/slide10.png +0 -0
- package/addons/openos/theme/calamares/branding/slide11.png +0 -0
- package/addons/openos/theme/calamares/branding/slide12.png +0 -0
- package/addons/openos/theme/calamares/branding/slide13.png +0 -0
- package/addons/openos/theme/calamares/branding/slide14.png +0 -0
- package/addons/openos/theme/calamares/branding/slide15.png +0 -0
- package/addons/openos/theme/calamares/branding/slide16.png +0 -0
- package/addons/openos/theme/calamares/branding/slide2.png +0 -0
- package/addons/openos/theme/calamares/branding/slide3.png +0 -0
- package/addons/openos/theme/calamares/branding/slide4.png +0 -0
- package/addons/openos/theme/calamares/branding/slide5.png +0 -0
- package/addons/openos/theme/calamares/branding/slide6.png +0 -0
- package/addons/openos/theme/calamares/branding/slide7.png +0 -0
- package/addons/openos/theme/calamares/branding/slide8.png +0 -0
- package/addons/openos/theme/calamares/branding/slide9.png +0 -0
- package/addons/openos/theme/calamares/branding/welcome.png +0 -0
- package/addons/openos/theme/calamares/branding.desc +0 -24
- package/addons/openos/theme/calamares/lang/calamares-default_ar.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_en.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_eo.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_fr.qm +0 -0
- package/addons/openos/theme/calamares/lang/calamares-default_nl.qm +0 -0
- package/addons/openos/theme/calamares/modules/partition.yml +0 -233
- package/addons/openos/theme/livecd/grub.template.cfg +0 -60
- package/addons/openos/theme/livecd/menu.template.cfg +0 -54
- package/addons/openos/theme/livecd/splash.png +0 -0
- package/addons/openos/theme/livecd/theme.cfg +0 -42
- package/addons/pve/theme/applications/penguins-pve.desktop +0 -24
- package/addons/pve/theme/artwork/install-debian.png +0 -0
- package/addons/pve/theme/calamares/branding/branding.desc +0 -1
- package/addons/pve/theme/calamares/branding/pve-logo.png +0 -0
- package/addons/pve/theme/calamares/branding/show.qml +0 -227
- package/addons/pve/theme/calamares/branding/slide1.png +0 -0
- package/addons/pve/theme/calamares/branding/slide2.png +0 -0
- package/addons/pve/theme/calamares/branding/slide3.png +0 -0
- package/addons/pve/theme/calamares/branding/slide4.png +0 -0
- package/addons/pve/theme/calamares/branding/slide5.png +0 -0
- package/addons/pve/theme/calamares/branding/slide6.png +0 -0
- package/addons/pve/theme/calamares/branding/slide7.png +0 -0
- package/addons/pve/theme/calamares/branding/slide8.png +0 -0
- package/addons/pve/theme/calamares/branding/slide9.png +0 -0
- package/addons/pve/theme/calamares/branding/welcome.png +0 -0
- package/addons/pve/theme/calamares/modules/partition.yml +0 -233
- package/addons/pve/theme/livecd/README.md +0 -8
- package/addons/pve/theme/livecd/grub.template.cfg +0 -60
- package/addons/pve/theme/livecd/menu.template.cfg +0 -54
- package/addons/pve/theme/livecd/splash.png +0 -0
- package/addons/pve/theme/livecd/theme.cfg +0 -42
- package/addons/ufficiozero/theme/artwork/install-debian.png +0 -0
- package/addons/ufficiozero/theme/livecd/README.md +0 -8
- package/addons/ufficiozero/theme/livecd/grub.template.cfg +0 -60
- package/addons/ufficiozero/theme/livecd/menu.template.cfg +0 -54
- package/conf/distros/bullseye/calamares/calamares-modules/bootloader-config/bootloader-config.sh +0 -28
- package/conf/distros/bullseye/calamares/calamares-modules/bootloader-config/module.yml +0 -8
- package/conf/distros/buster/grub/grub.template.cfg +0 -58
- package/conf/distros/buster/grub/loopback.cfg +0 -1
- package/conf/distros/buster/isolinux/isolinux.template.cfg +0 -8
- package/conf/distros/buster/isolinux/menu.template.cfg +0 -56
- package/conf/distros/focal/grub/grub.template.cfg +0 -67
- package/conf/distros/focal/isolinux/menu.template.cfg +0 -54
- package/lib/classes/incubation/distros/beowulf.d.ts +0 -30
- package/lib/classes/incubation/distros/beowulf.js +0 -69
- package/manpages/doc/man/eggs.1.gz +0 -0
|
@@ -7,18 +7,17 @@ const tslib_1 = require("tslib");
|
|
|
7
7
|
* author: Piero Proietti
|
|
8
8
|
* mail: piero.proietti@gmail.com
|
|
9
9
|
*/
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const utils_1 = tslib_1.__importDefault(require("../utils"));
|
|
10
|
+
const node_fs_1 = (0, tslib_1.__importDefault)(require("node:fs"));
|
|
11
|
+
const node_path_1 = (0, tslib_1.__importDefault)(require("node:path"));
|
|
12
|
+
const shelljs_1 = (0, tslib_1.__importDefault)(require("shelljs"));
|
|
13
|
+
const utils_1 = (0, tslib_1.__importDefault)(require("../utils"));
|
|
14
14
|
const jessie_1 = require("./distros/jessie");
|
|
15
15
|
const buster_1 = require("./distros/buster");
|
|
16
|
-
const bullseye_1 = require("./distros/bullseye");
|
|
17
|
-
const beowulf_1 = require("./distros/beowulf");
|
|
18
16
|
const focal_1 = require("./distros/focal");
|
|
19
17
|
const bionic_1 = require("./distros/bionic");
|
|
18
|
+
const rolling_1 = require("./distros/rolling");
|
|
20
19
|
const installer_1 = require("./installer");
|
|
21
|
-
const
|
|
20
|
+
const utils_2 = require("../../lib/utils");
|
|
22
21
|
/**
|
|
23
22
|
*
|
|
24
23
|
*/
|
|
@@ -32,7 +31,7 @@ class Incubator {
|
|
|
32
31
|
constructor(remix, distro, user_opt = 'live', verbose = false) {
|
|
33
32
|
this.verbose = false;
|
|
34
33
|
this.installer = {};
|
|
35
|
-
this.installer = installer_1.installer();
|
|
34
|
+
this.installer = (0, installer_1.installer)();
|
|
36
35
|
this.remix = remix;
|
|
37
36
|
this.distro = distro;
|
|
38
37
|
this.user_opt = user_opt;
|
|
@@ -48,41 +47,84 @@ class Incubator {
|
|
|
48
47
|
const verbose = true;
|
|
49
48
|
const echo = utils_1.default.setEcho(verbose);
|
|
50
49
|
this.createInstallerDirs();
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
50
|
+
// DEBIAN
|
|
51
|
+
switch (this.distro.versionLike) {
|
|
52
|
+
case 'jessie': {
|
|
53
|
+
const jessie = new jessie_1.Jessie(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
54
|
+
await jessie.create();
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
case 'stretch': {
|
|
58
|
+
const stretch = new jessie_1.Jessie(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
59
|
+
await stretch.create();
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
case 'bullseye': {
|
|
63
|
+
const bullseye = new buster_1.Buster(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
64
|
+
await bullseye.create();
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
case 'bookworm': {
|
|
68
|
+
const bookworm = new buster_1.Buster(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
69
|
+
await bookworm.create();
|
|
70
|
+
// DEVUAN
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
case 'beowulf': {
|
|
74
|
+
const beowulf = new buster_1.Buster(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
75
|
+
await beowulf.create();
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
case 'chimaera': {
|
|
79
|
+
const chimaera = new buster_1.Buster(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
80
|
+
await chimaera.create();
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
case 'daedalus': {
|
|
84
|
+
const daedalus = new buster_1.Buster(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
85
|
+
await daedalus.create();
|
|
86
|
+
// UBUNTU
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Manjaro
|
|
91
|
+
*/
|
|
92
|
+
case 'rolling': {
|
|
93
|
+
const rolling = new rolling_1.Rolling(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
94
|
+
await rolling.create();
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
case 'focal': {
|
|
98
|
+
const focal = new focal_1.Focal(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
99
|
+
await focal.create();
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
case 'groovy': {
|
|
103
|
+
const groovy = new focal_1.Focal(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
104
|
+
await groovy.create();
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
case 'hirsute': {
|
|
108
|
+
const hirsute = new focal_1.Focal(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
109
|
+
await hirsute.create();
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
case 'impish': {
|
|
113
|
+
const impish = new focal_1.Focal(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
114
|
+
await impish.create();
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
case 'jammy': {
|
|
118
|
+
const jammy = new focal_1.Focal(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
119
|
+
await jammy.create();
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
case 'bionic': {
|
|
123
|
+
const bionic = new bionic_1.Bionic(this.installer, this.remix, this.distro, release, this.user_opt, this.verbose);
|
|
124
|
+
await bionic.create();
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
// No default
|
|
86
128
|
}
|
|
87
129
|
this.createBranding();
|
|
88
130
|
}
|
|
@@ -93,62 +135,62 @@ class Incubator {
|
|
|
93
135
|
if (this.installer.name !== 'calamares') {
|
|
94
136
|
// Remove krill configuration and multiarc if present
|
|
95
137
|
try {
|
|
96
|
-
|
|
138
|
+
shelljs_1.default.exec('rm ' + this.installer.configuration + ' -rf');
|
|
97
139
|
}
|
|
98
140
|
catch (error) {
|
|
99
141
|
console.log('error: ' + error + ' removing ' + this.installer.configuration + ' -rf');
|
|
100
142
|
}
|
|
101
143
|
try {
|
|
102
|
-
|
|
144
|
+
shelljs_1.default.exec('rm ' + this.installer.multiarch + ' -rf');
|
|
103
145
|
}
|
|
104
146
|
catch (error) {
|
|
105
147
|
console.log('error: ' + error + ' removing ' + this.installer.multiarch + ' -rf');
|
|
106
148
|
}
|
|
107
149
|
}
|
|
108
150
|
// rootConfiguration krill calamares
|
|
109
|
-
if (!
|
|
151
|
+
if (!node_fs_1.default.existsSync(this.installer.configuration)) {
|
|
110
152
|
try {
|
|
111
|
-
|
|
153
|
+
node_fs_1.default.mkdirSync(this.installer.configuration);
|
|
112
154
|
}
|
|
113
155
|
catch (error) {
|
|
114
156
|
console.log('error: ' + error + ' creating ' + this.installer.configuration);
|
|
115
157
|
}
|
|
116
158
|
}
|
|
117
|
-
if (!
|
|
159
|
+
if (!node_fs_1.default.existsSync(this.installer.configuration + 'branding')) {
|
|
118
160
|
try {
|
|
119
|
-
|
|
161
|
+
node_fs_1.default.mkdirSync(this.installer.configuration + 'branding');
|
|
120
162
|
}
|
|
121
163
|
catch (error) {
|
|
122
164
|
console.log('error: ' + error + ' creating ' + this.installer.configuration + 'branding');
|
|
123
165
|
}
|
|
124
166
|
}
|
|
125
|
-
if (!
|
|
167
|
+
if (!node_fs_1.default.existsSync(this.installer.configuration + 'branding/eggs')) {
|
|
126
168
|
try {
|
|
127
|
-
|
|
169
|
+
node_fs_1.default.mkdirSync(this.installer.configuration + 'branding/eggs');
|
|
128
170
|
}
|
|
129
171
|
catch (error) {
|
|
130
172
|
console.log('error: ' + error + ' creating ' + this.installer.configuration + 'branding/eggs');
|
|
131
173
|
}
|
|
132
174
|
}
|
|
133
|
-
if (!
|
|
175
|
+
if (!node_fs_1.default.existsSync(this.installer.configuration + 'modules')) {
|
|
134
176
|
try {
|
|
135
|
-
|
|
177
|
+
node_fs_1.default.mkdirSync(this.installer.configuration + 'modules');
|
|
136
178
|
}
|
|
137
179
|
catch (error) {
|
|
138
180
|
console.log('error: ' + error + ' creating ' + this.installer.configuration + 'modules');
|
|
139
181
|
}
|
|
140
182
|
}
|
|
141
|
-
if (!
|
|
183
|
+
if (!node_fs_1.default.existsSync(this.installer.multiarch)) {
|
|
142
184
|
try {
|
|
143
|
-
|
|
185
|
+
node_fs_1.default.mkdirSync(this.installer.multiarch);
|
|
144
186
|
}
|
|
145
187
|
catch (error) {
|
|
146
188
|
console.log('error: ' + error + ' creating ' + this.installer.multiarch);
|
|
147
189
|
}
|
|
148
190
|
}
|
|
149
|
-
if (!
|
|
191
|
+
if (!node_fs_1.default.existsSync(this.installer.multiarchModules)) {
|
|
150
192
|
try {
|
|
151
|
-
|
|
193
|
+
node_fs_1.default.mkdirSync(this.installer.multiarchModules);
|
|
152
194
|
}
|
|
153
195
|
catch (error) {
|
|
154
196
|
console.log('error: ' + error + ' creating ' + this.installer.multiarchModules);
|
|
@@ -158,40 +200,40 @@ class Incubator {
|
|
|
158
200
|
* ADDONS (only for calamares)
|
|
159
201
|
*/
|
|
160
202
|
if (this.installer.name === 'calamares') {
|
|
161
|
-
const calamaresBranding =
|
|
162
|
-
if (
|
|
163
|
-
if (!
|
|
203
|
+
const calamaresBranding = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/calamares/branding`);
|
|
204
|
+
if (node_fs_1.default.existsSync(calamaresBranding)) {
|
|
205
|
+
if (!node_fs_1.default.existsSync(this.installer.configuration + `branding/${this.remix.branding}`)) {
|
|
164
206
|
try {
|
|
165
|
-
|
|
207
|
+
node_fs_1.default.mkdirSync(this.installer.configuration + `branding/${this.remix.branding}`);
|
|
166
208
|
}
|
|
167
209
|
catch (error) {
|
|
168
210
|
console.log('error: ' + error + ' creating ' + this.installer.configuration + `branding/${this.remix.branding}`);
|
|
169
211
|
}
|
|
170
212
|
}
|
|
171
|
-
|
|
213
|
+
shelljs_1.default.cp(calamaresBranding + '/*', this.installer.configuration + `branding/${this.remix.branding}/`);
|
|
172
214
|
}
|
|
173
215
|
else {
|
|
174
216
|
console.log(`${calamaresBranding} not found!`);
|
|
175
217
|
process.exit();
|
|
176
218
|
}
|
|
177
|
-
const calamaresIcon =
|
|
178
|
-
if (
|
|
179
|
-
|
|
219
|
+
const calamaresIcon = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/artwork/install-debian.png`);
|
|
220
|
+
if (node_fs_1.default.existsSync(calamaresIcon)) {
|
|
221
|
+
shelljs_1.default.cp(calamaresIcon, '/usr/share/icons/');
|
|
180
222
|
}
|
|
181
223
|
else {
|
|
182
224
|
console.log(`${calamaresIcon} not found!`);
|
|
183
225
|
process.exit();
|
|
184
226
|
}
|
|
185
|
-
const calamaresLauncher =
|
|
186
|
-
if (
|
|
187
|
-
|
|
227
|
+
const calamaresLauncher = node_path_1.default.resolve(__dirname, `../../../addons/${this.remix.branding}/theme/applications/install-debian.desktop`);
|
|
228
|
+
if (node_fs_1.default.existsSync(calamaresLauncher)) {
|
|
229
|
+
shelljs_1.default.cp(calamaresLauncher, '/usr/share/applications/');
|
|
188
230
|
}
|
|
189
231
|
else {
|
|
190
232
|
console.log(`${calamaresLauncher} not found!`);
|
|
191
233
|
process.exit();
|
|
192
234
|
}
|
|
193
235
|
// script di avvio
|
|
194
|
-
|
|
236
|
+
shelljs_1.default.cp(node_path_1.default.resolve(__dirname, '../../../assets/calamares/install-debian'), '/sbin/install-debian');
|
|
195
237
|
}
|
|
196
238
|
}
|
|
197
239
|
/**
|
|
@@ -200,8 +242,8 @@ class Incubator {
|
|
|
200
242
|
createBranding() {
|
|
201
243
|
const branding = require('./branding').branding;
|
|
202
244
|
const dir = this.installer.configuration + 'branding/' + this.remix.branding + '/';
|
|
203
|
-
if (!
|
|
204
|
-
|
|
245
|
+
if (!node_fs_1.default.existsSync(dir)) {
|
|
246
|
+
shelljs_1.default.exec(dir + ' -p');
|
|
205
247
|
}
|
|
206
248
|
const file = dir + 'branding.desc';
|
|
207
249
|
const content = branding(this.remix, this.distro, this.verbose);
|
|
@@ -212,11 +254,11 @@ class Incubator {
|
|
|
212
254
|
*/
|
|
213
255
|
async createInstallDebian() {
|
|
214
256
|
const scriptInstallDebian = require('./calamares-modules/scripts/install-debian').installDebian;
|
|
215
|
-
const scriptDir =
|
|
257
|
+
const scriptDir = '/usr/bin/';
|
|
216
258
|
const scriptFile = scriptDir + 'install-debian';
|
|
217
259
|
const scriptContent = scriptInstallDebian();
|
|
218
260
|
write(scriptFile, scriptContent, this.verbose);
|
|
219
|
-
await exec(`chmod +x ${scriptFile}`);
|
|
261
|
+
await (0, utils_2.exec)(`chmod +x ${scriptFile}`);
|
|
220
262
|
}
|
|
221
263
|
}
|
|
222
264
|
exports.default = Incubator;
|
|
@@ -230,5 +272,5 @@ function write(file, content, verbose = false) {
|
|
|
230
272
|
if (verbose) {
|
|
231
273
|
console.log(`calamares: create ${file}`);
|
|
232
274
|
}
|
|
233
|
-
|
|
275
|
+
node_fs_1.default.writeFileSync(file, content, 'utf8');
|
|
234
276
|
}
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
* templateModules = template + '/modules/'
|
|
11
11
|
* templateMultiarch = template + installer + '-modules/'
|
|
12
12
|
*
|
|
13
|
-
*/
|
|
14
|
-
import { IInstaller } from '../../interfaces
|
|
13
|
+
*/
|
|
14
|
+
import { IInstaller } from '../../interfaces';
|
|
15
15
|
export declare function installer(): IInstaller;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.installer = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const distro_1 = tslib_1.__importDefault(require("../../classes/distro"));
|
|
6
|
-
const pacman_1 = tslib_1.__importDefault(require("../../classes/pacman"));
|
|
7
|
-
const utils_1 = tslib_1.__importDefault(require("../utils"));
|
|
5
|
+
const distro_1 = (0, tslib_1.__importDefault)(require("../../classes/distro"));
|
|
6
|
+
const pacman_1 = (0, tslib_1.__importDefault)(require("../../classes/pacman"));
|
|
8
7
|
function installer() {
|
|
9
|
-
|
|
8
|
+
const installer = {};
|
|
10
9
|
if (pacman_1.default.packageIsInstalled('calamares')) {
|
|
11
10
|
installer.name = 'calamares';
|
|
12
11
|
installer.configuration = '/etc/calamares/';
|
|
@@ -20,11 +19,11 @@ function installer() {
|
|
|
20
19
|
installer.modules = installer.configuration + 'modules/';
|
|
21
20
|
installer.multiarchModules = installer.multiarch + 'modules/';
|
|
22
21
|
/**
|
|
23
|
-
* i template nelle versioni
|
|
22
|
+
* i template nelle versioni isCalamaresAvailable sono QUELLI di calamares
|
|
24
23
|
*/
|
|
25
24
|
const remix = {};
|
|
26
25
|
const distro = new distro_1.default(remix);
|
|
27
|
-
if (distro.
|
|
26
|
+
if (distro.isCalamaresAvailable) {
|
|
28
27
|
installer.template = '/etc/penguins-eggs.d/distros/' + distro.versionLike + '/calamares/';
|
|
29
28
|
installer.templateModules = installer.template + 'modules/';
|
|
30
29
|
installer.templateMultiarch = installer.template + 'calamares-modules/';
|
|
@@ -42,18 +41,5 @@ exports.installer = installer;
|
|
|
42
41
|
* @returns
|
|
43
42
|
*/
|
|
44
43
|
function multiarch() {
|
|
45
|
-
|
|
46
|
-
if (utils_1.default.machineArch() === 'amd64') {
|
|
47
|
-
multiarch = '/usr/lib/x86_64-linux-gnu/';
|
|
48
|
-
}
|
|
49
|
-
else if (utils_1.default.machineArch() === 'i386') {
|
|
50
|
-
multiarch = '/usr/lib/i386-linux-gnu/';
|
|
51
|
-
}
|
|
52
|
-
else if (utils_1.default.machineArch() === 'armel') {
|
|
53
|
-
multiarch = '/usr/lib/';
|
|
54
|
-
}
|
|
55
|
-
else if (utils_1.default.machineArch() === 'arm64') {
|
|
56
|
-
multiarch = '/usr/lib/';
|
|
57
|
-
}
|
|
58
|
-
return multiarch;
|
|
44
|
+
return pacman_1.default.distro().usrLibPath;
|
|
59
45
|
}
|
package/lib/classes/initrd.d.ts
CHANGED
package/lib/classes/initrd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* penguins-eggs:
|
|
3
|
+
* penguins-eggs: initrd
|
|
4
4
|
* author: Piero Proietti
|
|
5
5
|
* mail: piero.proietti@gmail.com
|
|
6
6
|
*
|
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
* Copyright: fsmithred@gmail.com 2011-2019
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
11
12
|
// packages
|
|
12
|
-
const
|
|
13
|
-
const
|
|
13
|
+
const node_fs_1 = (0, tslib_1.__importDefault)(require("node:fs"));
|
|
14
|
+
const shelljs_1 = (0, tslib_1.__importDefault)(require("shelljs"));
|
|
14
15
|
/**
|
|
15
16
|
* initrd
|
|
16
17
|
* Controlla e rimuove, se necessario cryptroot, resume
|
|
@@ -45,7 +46,7 @@ class Initrd {
|
|
|
45
46
|
check() {
|
|
46
47
|
const initrd = {};
|
|
47
48
|
const cmdCheck = `lsinitramfs ${this.initrdSrc} | egrep 'conf/conf.d/cryptroot|cryptroot/crypttab|conf/conf.d/resume|conf/conf.d/zz-resume-auto'`;
|
|
48
|
-
const check =
|
|
49
|
+
const check = shelljs_1.default.exec(cmdCheck, { silent: true });
|
|
49
50
|
if (check.includes('conf/conf.d/cryptroot')) {
|
|
50
51
|
initrd.cryptoroot = true;
|
|
51
52
|
}
|
|
@@ -70,32 +71,38 @@ class Initrd {
|
|
|
70
71
|
}
|
|
71
72
|
const savedState = process.cwd();
|
|
72
73
|
// cancello e ricreo la cartella di lavore
|
|
73
|
-
if (
|
|
74
|
-
|
|
74
|
+
if (node_fs_1.default.existsSync(this.workDir)) {
|
|
75
|
+
shelljs_1.default.exec(`rm ${this.workDir} -rf`);
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
+
shelljs_1.default.mkdir(this.workDir);
|
|
77
78
|
process.chdir(this.workDir);
|
|
78
79
|
// Verifico il tipo di compressione
|
|
79
80
|
const cmd = `file -L ${this.initrdSrc} | egrep -o 'gzip compressed|XZ compressed|cpio archive'`;
|
|
80
|
-
const compressionShell =
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
81
|
+
const compressionShell = shelljs_1.default.exec(cmd).trimStart().trimEnd();
|
|
82
|
+
switch (compressionShell) {
|
|
83
|
+
case 'gzip compressed': {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
case 'xz compressed': {
|
|
87
|
+
this.compression = 'xz';
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
case 'cpio compressed': {
|
|
91
|
+
this.compression = 'cpio';
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
// No default
|
|
88
95
|
}
|
|
89
96
|
// Estratto initrd nella cartella di lavoro
|
|
90
97
|
console.log('compression: [' + this.compression + ']');
|
|
91
|
-
if (this.compression = 'gzip') {
|
|
92
|
-
|
|
98
|
+
if ((this.compression = 'gzip')) {
|
|
99
|
+
shelljs_1.default.exec(`zcat ${initrd} | cpio -i`);
|
|
93
100
|
}
|
|
94
101
|
else if (this.compression === 'xz') {
|
|
95
|
-
|
|
102
|
+
shelljs_1.default.exec(`xzcat ${initrd} | cpio -d -i -m`);
|
|
96
103
|
}
|
|
97
104
|
else if (this.compression === 'cpio') {
|
|
98
|
-
|
|
105
|
+
shelljs_1.default.exec(`(cpio -i ; zcat | cpio -i) < ${initrd}`);
|
|
99
106
|
}
|
|
100
107
|
process.chdir(savedState);
|
|
101
108
|
}
|
|
@@ -104,23 +111,23 @@ class Initrd {
|
|
|
104
111
|
*/
|
|
105
112
|
edit(verbose = true) {
|
|
106
113
|
// Analizzo per cryptroot
|
|
107
|
-
if (
|
|
114
|
+
if (node_fs_1.default.existsSync(`${this.workDir}/conf/conf.d/cryptroot`)) {
|
|
108
115
|
console.log('Removing cryptroot');
|
|
109
|
-
|
|
116
|
+
shelljs_1.default.exec(`rm -f ${this.workDir}/conf/conf.d/cryptroot`);
|
|
110
117
|
}
|
|
111
|
-
else if (
|
|
118
|
+
else if (node_fs_1.default.existsSync(`${this.workDir}/cryptroot/crypttab`)) {
|
|
112
119
|
console.log('Removing crypttab');
|
|
113
|
-
|
|
120
|
+
shelljs_1.default.exec(`rm -f ${this.workDir}/cryptroot/crypttab`);
|
|
114
121
|
}
|
|
115
122
|
// Analizzo per resume
|
|
116
|
-
if (
|
|
123
|
+
if (node_fs_1.default.existsSync(`${this.workDir}/conf/conf.d/resume`)) {
|
|
117
124
|
console.log('Removing resume');
|
|
118
|
-
|
|
119
|
-
|
|
125
|
+
shelljs_1.default.exec(`rm -f ${this.workDir}/conf/conf.d/resume`);
|
|
126
|
+
shelljs_1.default.exec(`rm -f ${this.fsLive}/etc/initramfs-tools/conf.d/resume`);
|
|
120
127
|
}
|
|
121
128
|
else if (`${this.workDir}/conf/conf.d/zz-resume-auto`) {
|
|
122
|
-
|
|
123
|
-
|
|
129
|
+
shelljs_1.default.exec(`rm -f ${this.workDir}/rm -f conf/conf.d/zz-resume-auto`);
|
|
130
|
+
shelljs_1.default.exec(`rm -f ${this.fsLive}/etc/initramfs-tools/conf.d/resume`);
|
|
124
131
|
}
|
|
125
132
|
}
|
|
126
133
|
/**
|
|
@@ -136,10 +143,10 @@ class Initrd {
|
|
|
136
143
|
process.chdir(this.workDir);
|
|
137
144
|
console.log('work_dir: ' + this.workDir);
|
|
138
145
|
if (this.compression === 'gzip') {
|
|
139
|
-
|
|
146
|
+
shelljs_1.default.exec(`find . -print0 | cpio -0 -H newc -o | gzip -c > ${this.initrdDest}`);
|
|
140
147
|
}
|
|
141
148
|
else if (this.compression === 'xz') {
|
|
142
|
-
|
|
149
|
+
shelljs_1.default.exec(`find . | cpio -o -H newc | xz --check=crc32 --x86 --lzma2=dict=512KiB > ${this.initrdDest}`);
|
|
143
150
|
}
|
|
144
151
|
process.chdir(savedState);
|
|
145
152
|
}
|
|
@@ -60,6 +60,10 @@ export default class Hatching {
|
|
|
60
60
|
settings: Settings;
|
|
61
61
|
remix: IRemix;
|
|
62
62
|
distro: IDistro;
|
|
63
|
+
luksName: string;
|
|
64
|
+
luksFile: string;
|
|
65
|
+
luksDevice: string;
|
|
66
|
+
luksMountpoint: string;
|
|
63
67
|
/**
|
|
64
68
|
* constructor
|
|
65
69
|
*/
|
|
@@ -143,10 +147,6 @@ export default class Hatching {
|
|
|
143
147
|
* syncfs
|
|
144
148
|
*/
|
|
145
149
|
private syncfs;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
*/
|
|
149
|
-
private restoreUsersData;
|
|
150
150
|
/**
|
|
151
151
|
* mkfs
|
|
152
152
|
*/
|