File tree Expand file tree Collapse file tree 5 files changed +29
-0
lines changed
Expand file tree Collapse file tree 5 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =VSO Repo migration
3+ After =vso-pre-run.service
4+
5+ [Service]
6+ Type =oneshot
7+ ExecStart =/usr/bin/bash /usr/libexec/vso/migrate-repo
8+
9+ [Install]
10+ WantedBy =default.target
Original file line number Diff line number Diff line change 11[Unit]
22Description =VSO Shell Pre-Run
3+ After =podman.service podman-restart.service podman-auto-update.service
34
45[Service]
56Type =oneshot
7+ RemainAfterExit =yes
68ExecStartPre =/usr/bin/wait-for-connection
79ExecStart =/usr/bin/vso run -n -- echo vso container started
810
Original file line number Diff line number Diff line change 1+ Types: deb
2+ URIs: http://deb.debian.org/debian
3+ Suites: sid
4+ Components: main
5+ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ /usr/share/apx/distrobox/distrobox enter --name apx-vso-pico -- ls /etc/apt/sources.list.d/debian.sources
4+ if [ " $? " -ne 2 ]; then
5+ echo " already migrated"
6+ exit 0
7+ fi
8+
9+ set -e
10+ /usr/share/apx/distrobox/distrobox enter --name apx-vso-pico -- sudo cp /run/host/usr/libexec/vso/debian.sources /etc/apt/sources.list.d/debian.sources
11+ /usr/share/apx/distrobox/distrobox enter --name apx-vso-pico -- sudo rm /etc/apt/sources.list.d/vanilla-base.sources
Original file line number Diff line number Diff line change @@ -82,4 +82,5 @@ modules:
8282 - ln -s /usr/lib/systemd/system/vanilla-updates.timer /etc/systemd/system/timers.target.wants/vanilla-updates.timer
8383 - mkdir -p /usr/lib/systemd/user/default.target.wants
8484 - ln -s /usr/lib/systemd/user/vso-pre-run.service /usr/lib/systemd/user/default.target.wants/vso-pre-run.service
85+ - ln -s /usr/lib/systemd/user/vso-migrate-repo.service /usr/lib/systemd/user/default.target.wants/vso-migrate-repo.service
8586 - ln -s /usr/lib/systemd/user/vso-tasks-rotation.service /usr/lib/systemd/user/default.target.wants/vso-tasks-rotation.service
You can’t perform that action at this time.
0 commit comments