Debian Codegraph @

config/modules/mobile.conf

raw
1 # Commented out values are defaults.
2 # All commands are running with 'sh -c'.
3 ---
4 #######
5 ### Target OS information
6 #######
7
8 ## Operating System Name
9 osName: "Mobian"
10
11 ## User Interface name (e.g. Plasma Mobile)
12 userInterface: "Phosh"
13
14 ## OS version
15 version: "Trixie"
16
17 ## Default username (for which the password will be set)
18 username: "mobian"
19
20 #######
21 ### Target device information
22 #######
23
24 ## Architecture (e.g. aarch64)
25 arch: "arm64"
26
27 ## Name of the device (e.g. PinePhone)
28 device: "PinePhone"
29
30 ## Partition that will be formatted and mounted (optionally with FDE) for the rootfs
31 # targetDeviceRoot: "/dev/unknown"
32
33 ######
34 ### Installer Features
35 ######
36
37 ## Ask whether sshd should be enabled or not. If enabled, add a dedicated ssh
38 ## user with proper username and password and suggest to change to key-based
39 ## authentication after installation.
40 featureSshd: false
41 #
42 ## Ask the user, which filesystem to use.
43 featureFsType: true
44 ## Filesystems that the user can choose from.
45 fsModel:
46 - ext4
47 - btrfs
48 #- f2fs
49 ## Default filesystem to display in the dialog. If featureFsType is disabled,
50 ## this gets used without asking the user.
51 defaultFs: ext4
52
53 #######
54 ### Commands running in the installer OS
55 #######
56
57 ## Format the target partition with LUKS
58 ## Arguments: <device>
59 ## Stdin: password with \n
60 # cmdLuksFormat: "cryptsetup luksFormat --use-random"
61
62 ## Open the formatted partition
63 ## Arguments: <device> <mapping name>
64 ## Stdin: password with \n
65 # cmdLuksOpen: "cryptsetup luksOpen"
66
67 ## Format the rootfs with a file system
68 ## Arguments: <device>
69 cmdMkfsRootExt4: "mkfs.ext4 -F -L 'root'"
70 cmdMkfsRootF2fs: "mkfs.f2fs -f -l 'root'"
71 cmdMkfsRootBtrfs: "mkfs.btrfs-mobian"
72
73 ## Mount the partition after formatting with file system
74 ## Arguments: <device> <mountpoint>
75 # cmdMount: "mount"
76
77 #######
78 ### Commands running in the target OS (chroot)
79 #######
80
81 ## Change the username for the default user
82 ## Stdin: username with \n
83 cmdUsermod: "xargs -I{} -n1 usermod -m -d /home/{} -l {} -c {} mobian"
84
85 ## Set the password for default user and sshd user
86 ## Arguments: <username>
87 ## Stdin: password twice, each time with \n
88 # cmdPasswd: "passwd"
89
90 ## Enable or disable sshd
91 # cmdSshdEnable: "systemctl enable sshd.service"
92 # cmdSshdDisable: "systemctl disable sshd.service"
93
94 ## Create the user for sshd
95 ## Arguments: <username>
96 # cmdSshdUseradd: "useradd -G wheel -m"
97
98 ## Run to partition and format internal storage
99 cmdInternalStoragePrepare: prepare-internal-storage