Files
build/packages/bsp/common/lib/systemd/system/armbian-resize-filesystem.service
Derek c8855aa08d modifications of firstrun scripts (#3642)
* 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>
2022-05-07 15:52:31 +02:00

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