@dotpi/tools 1.0.1 → 1.4.0
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/.editorbackup/NOTES.md~ +974 -0
- package/.editorbackup/PIPEWIRE.md~ +42 -0
- package/.editorbackup/README.md~ +335 -0
- package/BACKUP-SANDO.command +61 -0
- package/BACKUP-SISIDO.command +61 -0
- package/PIPEWIRE.md +280 -0
- package/dotpi_root/bin/.editorbackup/dotpi_firstrun.bash~ +149 -0
- package/dotpi_root/bin/.editorbackup/dotpi_firstrun~ +177 -0
- package/dotpi_root/bin/.editorbackup/dotpi_prepare_sd_card.bash~ +425 -0
- package/dotpi_root/bin/.editorbackup/dotpi_prepare_sd_card~ +620 -0
- package/dotpi_root/bin/.editorbackup/dotpi_prepare_system.bash~ +82 -0
- package/dotpi_root/bin/.editorbackup/dotpi_prepare_system~ +100 -0
- package/dotpi_root/bin/.editorbackup/dotpi~ +61 -0
- package/dotpi_root/bin/.editorbackup/prepare_sd_card.bash~ +252 -0
- package/dotpi_root/bin/dotpi_prepare_system +14 -3
- package/dotpi_root/etc/.editorbackup/dotpi_environment_default.bash~ +49 -0
- package/dotpi_root/etc/.editorbackup/dotpi_environment_instance.bash~ +1 -0
- package/dotpi_root/etc/.editorbackup/dotpi_environment_project.bash~ +33 -0
- package/dotpi_root/etc/.editorbackup/dotpi_tarignore~ +4 -0
- package/dotpi_root/share/.editorbackup/coucou~ +1 -0
- package/dotpi_root/share/.editorbackup/dotpi_environment.bash~ +9 -0
- package/dotpi_root/share/.editorbackup/dotpi_functions.bash~ +11 -0
- package/dotpi_root/share/.editorbackup/dotpi_functions_configuration.bash~ +420 -0
- package/dotpi_root/share/.editorbackup/dotpi_functions_connection.bash~ +358 -0
- package/dotpi_root/share/.editorbackup/dotpi_init.bash~ +18 -0
- package/dotpi_root/share/dotpi_audio_alsa/dotpi_audio_alsa.service +15 -0
- package/dotpi_root/share/dotpi_audio_bluetooth/.editorbackup/dotpi_audio_bluetooth.service~ +24 -0
- package/dotpi_root/share/dotpi_audio_bluetooth/.editorbackup/dotpi_audio_bluetooth_command~ +80 -0
- package/dotpi_root/share/dotpi_audio_bluetooth/.editorbackup/dotpi_audio_bluetooth_start_command~ +26 -0
- package/dotpi_root/share/dotpi_audio_bluetooth/.editorbackup/dotpi_audio_bluetooth_stop_command~ +30 -0
- package/dotpi_root/share/dotpi_audio_bluetooth/.editorbackup/dotpi_bluetooth_audio.service~ +21 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_audio_bluetooth.bash~ +256 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_audio_device.bash~ +287 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_bluetooth_audio.bash~ +7 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_configuration.bash~ +428 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_connection.bash~ +194 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_daemon.bash~ +26 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_soundcard.bash~ +287 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_soundcards.bash~ +12 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_system.bash~ +158 -0
- package/dotpi_root/share/dotpi_functions/.editorbackup/dotpi_functions_utils.bash~ +152 -0
- package/dotpi_root/share/dotpi_functions/dotpi_functions_audio_device.bash +68 -10
- package/dotpi_root/share/dotpi_init.bash +3 -0
- package/dotpi_root/share/dotpi_pipewire/bin/dotpi_pipewire_relink +85 -0
- package/dotpi_root/share/dotpi_pipewire/dotpi_install +24 -0
- package/dotpi_root/share/dotpi_pipewire/systemd/dotpi_pipewire.service +22 -0
- package/dotpi_root/share/dotpi_pipewire/systemd/dotpi_pipewire_command +29 -0
- package/dotpi_root/share/jackd/.editorbackup/dotpi_jackd_bluetooth.bash~ +20 -0
- package/dotpi_root/share/jackd/.editorbackup/dotpi_jackd_command~ +17 -0
- package/dotpi_root/share/jackd/.editorbackup/dotpi_jackd_headphones.bash~ +20 -0
- package/dotpi_root/share/jackd/.editorbackup/dotpi_jackd_hifiberry.bash~ +16 -0
- package/dotpi_root/share/jackd/.editorbackup/jackd.conf~ +5 -0
- package/dotpi_root/share/jackd/.editorbackup/jackd.service~ +15 -0
- package/dotpi_root/share/jackd/.editorbackup/jackd_headphones.conf~ +5 -0
- package/dotpi_root/share/jackd/dotpi_jack_simple_client.service +23 -0
- package/dotpi_root/share/wireplumber/.editorbackup/8zzz-dotpi-wireplumber-config.lua~ +1 -0
- package/package.json +1 -1
- package/projects/asterismes.tgz +0 -0
- package/projects/example-bluetooth/configuration/.editorbackup/dotpi_instance_001.bash~ +4 -0
- package/projects/example-bluetooth/configuration/.editorbackup/dotpi_instance_002.bash~ +3 -0
- package/projects/example-bluetooth/configuration/.editorbackup/dotpi_project.bash~ +46 -0
- package/projects/example-bluetooth/configuration/dotpi_instance_001.bash +3 -0
- package/projects/example-bluetooth/configuration/dotpi_instance_002.bash +3 -0
- package/projects/example-bluetooth/configuration/dotpi_project.bash +48 -0
- package/projects/example-development/configuration/.editorbackup/dotpi_project.bash~ +59 -0
- package/projects/example-development/configuration/dotpi_instance_114.bash +4 -0
- package/projects/example-headphones/configuration/.editorbackup/dotpi_project.bash~ +18 -0
- package/projects/example-hifiberry/configuration/.editorbackup/dotpi_instance_012.bash~ +4 -0
- package/projects/example-hifiberry/configuration/.editorbackup/dotpi_project.bash~ +18 -0
- package/projects/example-network/configuration/.editorbackup/dotpi_project.bash~ +21 -0
- package/projects/old/bad/.editorbackup/dotpi_environment_instance.bash~ +1 -0
- package/projects/old/bad/.editorbackup/dotpi_environment_project.bash~ +26 -0
- package/projects/old/bad/.editorbackup/dotpi_project.bash~ +33 -0
- package/projects/old/bad/.editorbackup/dotpi_tmp.bash~ +3 -0
- package/projects/old/bad/.editorbackup/wpa_supplicant.conf~ +37 -0
- package/projects/old/bad/dotpi_project.bash +20 -0
- package/projects/old/bluetooth/.editorbackup/dotpi_environment_instance.bash~ +1 -0
- package/projects/old/bluetooth/.editorbackup/dotpi_environment_project.bash~ +26 -0
- package/projects/old/bluetooth/.editorbackup/dotpi_project.bash~ +21 -0
- package/projects/old/bluetooth/.editorbackup/dotpi_tmp.bash~ +3 -0
- package/projects/old/bluetooth/.editorbackup/wpa_supplicant.conf~ +37 -0
- package/projects/old/bluetooth/dotpi_project.bash +29 -0
- package/projects/old/dev.bak/.editorbackup/dotpi_environment_instance.bash~ +1 -0
- package/projects/old/dev.bak/.editorbackup/dotpi_environment_project.bash~ +33 -0
- package/projects/old/dev.bak/.editorbackup/wpa_supplicant.conf~ +37 -0
- package/projects/old/dev.bak/dotpi_environment_instance.bash +1 -0
- package/projects/old/dev.bak/dotpi_environment_project.bash +46 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/.editorbackup/DOTPI-A114.nmconnection~ +24 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/.editorbackup/DOTPI.nmconnection~ +24 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/.editorbackup/Livebox-97C6_wifi_invite.nmconnection~ +24 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/.editorbackup/onze.nmconnection~ +22 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/.editorbackup/welcome.nmconnection~ +23 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/DOTPI-A114.nmconnection +23 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/DOTPI.nmconnection +23 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/Livebox-97C6_wifi_invite.nmconnection +24 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/onze.nmconnection +24 -0
- package/projects/old/dev.bak/file-system/etc/NetworkManager/system-connections/welcome.nmconnection +23 -0
- package/projects/old/dev.bak/network/.editorbackup/DOTPI-A114.nmconnection~ +24 -0
- package/projects/old/dev.bak/network/.editorbackup/DOTPI.nmconnection~ +24 -0
- package/projects/old/dev.bak/network/.editorbackup/Livebox-97C6_wifi_invite.nmconnection~ +24 -0
- package/projects/old/dev.bak/network/.editorbackup/onze.nmconnection~ +22 -0
- package/projects/old/dev.bak/network/.editorbackup/welcome.nmconnection~ +23 -0
- package/projects/old/dev.bak/network/AccueilCie.nmconnection +24 -0
- package/projects/old/dev.bak/network/DOTPI-A114.nmconnection +23 -0
- package/projects/old/dev.bak/network/DOTPI.nmconnection +23 -0
- package/projects/old/dev.bak/network/Livebox-97C6_wifi_invite.nmconnection +25 -0
- package/projects/old/dev.bak/network/onze.nmconnection +24 -0
- package/projects/old/dev.bak/network/welcome.nmconnection +23 -0
- package/projects/old/dev.bak/network/wifi-access-point.nmconnection +23 -0
- package/projects/old/dev.bak/network/wifi-internet.nmconnection +24 -0
- package/projects/old/dev.bak/network/wifi-ircam-public.nmconnection +24 -0
- package/projects/old/dev.bak/network/wifi-local.nmconnection +22 -0
- package/projects/old/dev.bak/network/wifi-welcome.nmconnection +24 -0
- package/projects/old/dev.bak/wpa_supplicant.conf +43 -0
- package/projects/old/dev.zip +0 -0
- package/projects/old/example/.editorbackup/dotpi_environment_instance.bash~ +1 -0
- package/projects/old/example/.editorbackup/dotpi_environment_project.bash~ +26 -0
- package/projects/old/example/.editorbackup/dotpi_project.bash~ +21 -0
- package/projects/old/example/.editorbackup/dotpi_tmp.bash~ +3 -0
- package/projects/old/example/.editorbackup/wpa_supplicant.conf~ +37 -0
- package/projects/old/example/configuration/.editorbackup/dotpi_project.bash~ +21 -0
- package/projects/old/example/configuration/dotpi_project.bash +21 -0
- package/projects/old/example-complete.bak/.editorbackup/dotpi_environment_instance.bash~ +1 -0
- package/projects/old/example-complete.bak/.editorbackup/dotpi_environment_project.bash~ +26 -0
- package/projects/old/example-complete.bak/.editorbackup/dotpi_project.bash~ +21 -0
- package/projects/old/example-complete.bak/.editorbackup/dotpi_tmp.bash~ +3 -0
- package/projects/old/example-complete.bak/.editorbackup/wpa_supplicant.conf~ +37 -0
- package/projects/old/example-complete.bak/configuration/.editorbackup/dotpi_project.bash~ +21 -0
- package/projects/old/example-complete.bak/configuration/dotpi_project.bash +21 -0
- package/projects/old/example-complete.bak/configuration/jackd/.editorbackup/dotpi_jackd.bash~ +14 -0
- package/projects/old/example-complete.bak/configuration/jackd/dotpi_jackd.bash +14 -0
- package/src/create-project.js +3 -3
- package/src/templates/dotpi_project.bash +1 -1
- package/src/templates/gitignore +4 -0
package/src/create-project.js
CHANGED
|
@@ -262,7 +262,7 @@ export async function configureWiFi(data, mocks = null) {
|
|
|
262
262
|
const configPath = path.join(PATH_NETWORK_DIRECTORY, value);
|
|
263
263
|
|
|
264
264
|
if (!WIFI_ID_REGEXP.test(value)) {
|
|
265
|
-
return '
|
|
265
|
+
return 'Invalid WiFi configuration id: use only lower case letters, digits, - and _';
|
|
266
266
|
} else if (fs.existsSync(configPath)) {
|
|
267
267
|
return `A WiFi configuration named "${value}" already exists`;
|
|
268
268
|
}
|
|
@@ -350,7 +350,7 @@ export async function injectUtilityFiles(data) {
|
|
|
350
350
|
|
|
351
351
|
data.files[PATH_DOTPI_FILE] = JSON.stringify({ dotpiToolsVersion: packageVersion() }, null, 2);
|
|
352
352
|
|
|
353
|
-
data.files[PATH_GITIGNORE] = renderTemplate('
|
|
353
|
+
data.files[PATH_GITIGNORE] = renderTemplate('gitignore', {
|
|
354
354
|
PATH_DOTPI_SECRETS_BASH,
|
|
355
355
|
PATH_SSH_DIRECTORY,
|
|
356
356
|
PATH_NETWORK_DIRECTORY,
|
|
@@ -435,4 +435,4 @@ export default async function createProject() {
|
|
|
435
435
|
> Next Step: plug-in a SD Card with a Raspberry Pi OS (Lite) installed and run:
|
|
436
436
|
> ${chalk.yellow('dotpi-tools --install-rpi')}
|
|
437
437
|
`);
|
|
438
|
-
}
|
|
438
|
+
}
|
|
@@ -26,6 +26,6 @@ dotpi_wifi_country_code='${d.wifiCountryCode}'
|
|
|
26
26
|
dotpi_keymap='${d.keyMap}'
|
|
27
27
|
|
|
28
28
|
# If you want to have some packages to be automatically installed
|
|
29
|
-
# or removed by default, you can list them in the arrays
|
|
29
|
+
# or removed by default, you can list them in the arrays below
|
|
30
30
|
dotpi_apt_install+=()
|
|
31
31
|
dotpi_apt_uninstall+=()
|