Browse Source

Merge pull request 'fix stage 1 with missing apt-get update' (#1) from jaromil/buster-to-devuan:master into master

Reviewed-on: https://git.devuan.org/rrq/buster-to-devuan/pulls/1
master
Ralph Rönnquist 1 month ago
parent
commit
9d7408196f
1 changed files with 14 additions and 1 deletions
  1. +14
    -1
      script.sh

+ 14
- 1
script.sh View File

@@ -74,6 +74,8 @@ EOF
wget https://pkgmaster.devuan.org/devuan/pool/main/d/devuan-keyring/devuan-keyring_2017.10.03_all.deb
dpkg -i devuan-keyring_2017.10.03_all.deb

apt-get update -y -q

apt-get -y install sysvinit-core

update-rc.d dbus disable
@@ -85,6 +87,7 @@ EOF
cat <<EOF > /etc/rc.local
#!/bin/sh
# Perform stage 2 of Devuan $DIST migration
/usr/sbin/sshd -D
cd $(pwd)
DIST=$DIST DE=$DE ./$(basename $0) 2
EOF
@@ -92,7 +95,17 @@ EOF

# Clean out unused packages and reboot
apt-get -y autoremove --purge
systemctl reboot
echo
echo "Stage 1 completed!"
echo
echo "Now try to reboot using:"
echo "init 6"
echo " or"
echo "systemctl reboot"
echo
echo "Next reboot will perform a dist-upgrade"
echo "Please be patient and wait it completes with another reboot"
echo "Login via ssh and use 'watch ps af' to monitor progress"
;;

2) # SECOND STAGE


Loading…
Cancel
Save