mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* modifications of firstrun scripts * Further making use of systemd statements to order firstboot scripts * allow systemd ordering of ssh to avoid restarting in firstrun script * suggested changes, add wants=first-boot-complete * Remove SSH keys in debootstrap process Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
21 lines
520 B
Desktop File
21 lines
520 B
Desktop File
# Armbian resize filesystem service
|
|
# Resizes partition and filesystem on first/second boot
|
|
# This service may block the boot process for up to 3 minutes
|
|
|
|
[Unit]
|
|
Description=Armbian filesystem resize
|
|
Wants=first-boot-complete.target
|
|
Before=basic.target first-boot-complete.target
|
|
After=sysinit.target local-fs.target
|
|
DefaultDependencies=no
|
|
ConditionFirstBoot=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/lib/armbian/armbian-resize-filesystem start
|
|
TimeoutStartSec=6min
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|