How to perform an offline update?

  1. Pull in some local service, e.g. by creating the following link:
i4130:/etc/systemd/system/system-update.target.wants # ll
total 4
lrwxrwxrwx 1 root root 31 Jul 31 10:22 dup.service -> /etc/systemd/system/dup.service
i4130:/etc/systemd/system/system-update.target.wants # 
  1. Create /etc/system-update and reboot. The system will boot into system-update.target, remove /etc/system-update and start dup.service. Upon completion it will reboot into default.target.
1 Like