Re: [DNG] buster to beowulf

2020-02-03 Thread Andrew McGlashan via Dng
Hi,

On 17/1/20 6:37 pm, Mark Hindley wrote:
> On Thu, Jan 16, 2020 at 06:45:44PM -0500, Hendrik Boom wrote:
> Yes, I have been working on this.
> 
> Attached is the script I have been testing. It single steps through.

I've attached a patch file.

AIUI it is better to specifically path /bin/bash rather than via env,
escpecially when we know for sure where bash is located

 - save [with verbose] orig sources.list (mv -v)
 - save file permissions and timestamps [with verbose] with cp (cp -vp)
 - adjust sed to use more normal "sed -i" form...?
 - indent cat EOF (better readability).

Also fix http:// ref to https:// with a server that is valid.



Not tested not sure if /etc/network/interfaces change is universal
or not.

Perhaps change line 7 for which vim instead of vim.tiny?

Also, if the keyring package (.deb file) is "stable", why not verify
it's checksum?

Passes shellcheck cleanly.

Cheers
A.

-- 
Andrew McGlashan
IT Support & Broadband Solutions


Affinity Vision Australia Pty Ltd

*** buster_migration.sh.orig	2020-02-03 20:56:10.696650864 +1100
--- buster_migration.sh	2020-02-03 21:09:41.708648329 +1100
***
*** 1,10 
! #!/usr/bin/env bash
  
  # Single step: https://stackoverflow.com/questions/9080431/how-execute-bash-script-line-by-line#9080645
  set -x
  trap read debug
  
! update-alternatives --set editor $(which vim.tiny)
  
  # Migrate from Debian buster to Devuan beowulf
  
--- 1,10 
! #!/bin/bash
  
  # Single step: https://stackoverflow.com/questions/9080431/how-execute-bash-script-line-by-line#9080645
  set -x
  trap read debug
  
! update-alternatives --set editor "$(which vim.tiny)"
  
  # Migrate from Debian buster to Devuan beowulf
  
*** if  [ -d /run/systemd/system ]; then
*** 13,26 
  # Must be Buster
  
  # Install devuan-keyring
! wget http://titan:/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
  
  # Change APT sources
! cat > /etc/apt/sources.list  /etc/apt/sources.list <<-EOF
! 		deb http://pkgmaster.devuan.org/merged beowulf main 
! 		deb http://pkgmaster.devuan.org/merged beowulf-security main 
! 	EOF
  
  apt update
  
*** EOF
*** 35,41 
  # Depends: libc6 (>= 2.28), libpam0g (>= 0.99.7.1), systemd (= 241-7~deb10u1), libpam-runtime (>= 1.0.1-6), dbus, systemd-sysv
  # 4) Remove ', systemd-sysv from the end of the line, leaving the rest of the line intact
  # 5) Save file
! cp /var/lib/dpkg/status /var/lib/dpkg/status.save
  editor /var/lib/dpkg/status
  
  # Install new init and dbus.
--- 37,43 
  # Depends: libc6 (>= 2.28), libpam0g (>= 0.99.7.1), systemd (= 241-7~deb10u1), libpam-runtime (>= 1.0.1-6), dbus, systemd-sysv
  # 4) Remove ', systemd-sysv from the end of the line, leaving the rest of the line intact
  # 5) Save file
! cp -pv /var/lib/dpkg/status /var/lib/dpkg/status.save
  editor /var/lib/dpkg/status
  
  # Install new init and dbus.
*** else
*** 67,73 
  apt autoremove --purge
  
  # Change ens3 to eth0 in /etc/network/interfaces
! sed s/ens3/eth0/ -i /etc/network/interfaces
  
  fi
  
--- 69,75 
  apt autoremove --purge
  
  # Change ens3 to eth0 in /etc/network/interfaces
! sed -i 's/ens3/eth0/' /etc/network/interfaces
  
  fi
  


signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] buster to beowulf

2020-02-03 Thread Andrew McGlashan via Dng
Hi,

On 3/2/20 9:28 pm, Andrew McGlashan via Dng wrote:
> On 17/1/20 6:37 pm, Mark Hindley wrote:
>> On Thu, Jan 16, 2020 at 06:45:44PM -0500, Hendrik Boom wrote:
>> Yes, I have been working on this.
>>
>> Attached is the script I have been testing. It single steps through.
> 
> I've attached a patch file.

Adjusted patch file changed tab to 4 spaces and fixed typo.
 (orig file didn't use tabs)

Cheers
A.
*** buster_migration.sh.orig	2020-02-03 20:56:10.696650864 +1100
--- buster_migration.sh	2020-02-03 21:43:56.804316985 +1100
***
*** 1,10 
! #!/usr/bin/env bash
  
  # Single step: https://stackoverflow.com/questions/9080431/how-execute-bash-script-line-by-line#9080645
  set -x
  trap read debug
  
! update-alternatives --set editor $(which vim.tiny)
  
  # Migrate from Debian buster to Devuan beowulf
  
--- 1,10 
! #!/bin/bash
  
  # Single step: https://stackoverflow.com/questions/9080431/how-execute-bash-script-line-by-line#9080645
  set -x
  trap read debug
  
! update-alternatives --set editor "$(which vim.tiny)"
  
  # Migrate from Debian buster to Devuan beowulf
  
*** if  [ -d /run/systemd/system ]; then
*** 13,26 
  # Must be Buster
  
  # Install devuan-keyring
! wget http://titan:/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
  
  # Change APT sources
! cat > /etc/apt/sources.list  /etc/apt/sources.list <<-EOF
! deb http://pkgmaster.devuan.org/merged beowulf main 
! deb http://pkgmaster.devuan.org/merged beowulf-security main 
! EOF
  
  apt update
  
*** EOF
*** 35,41 
  # Depends: libc6 (>= 2.28), libpam0g (>= 0.99.7.1), systemd (= 241-7~deb10u1), libpam-runtime (>= 1.0.1-6), dbus, systemd-sysv
  # 4) Remove ', systemd-sysv from the end of the line, leaving the rest of the line intact
  # 5) Save file
! cp /var/lib/dpkg/status /var/lib/dpkg/status.save
  editor /var/lib/dpkg/status
  
  # Install new init and dbus.
--- 37,43 
  # Depends: libc6 (>= 2.28), libpam0g (>= 0.99.7.1), systemd (= 241-7~deb10u1), libpam-runtime (>= 1.0.1-6), dbus, systemd-sysv
  # 4) Remove ', systemd-sysv from the end of the line, leaving the rest of the line intact
  # 5) Save file
! cp -pv /var/lib/dpkg/status /var/lib/dpkg/status.save
  editor /var/lib/dpkg/status
  
  # Install new init and dbus.
*** else
*** 67,73 
  apt autoremove --purge
  
  # Change ens3 to eth0 in /etc/network/interfaces
! sed s/ens3/eth0/ -i /etc/network/interfaces
  
  fi
  
--- 69,75 
  apt autoremove --purge
  
  # Change ens3 to eth0 in /etc/network/interfaces
! sed -i 's/ens3/eth0/' /etc/network/interfaces
  
  fi
  


signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Terrible reporting / puff piece about systemd

2020-02-03 Thread Andrew McGlashan via Dng
Horrid article that could have been written by pro-systemd Debian devs
themselves.

https://fossforce.com/2020/02/the-verdict-on-systemd-is-in/

Throw your 2pence in, I have; not that I expect my post to actually
remain or remain without a counter attack :(

A.



signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Terrible reporting / puff piece about systemd

2020-02-03 Thread Rick Moen
Quoting Andrew McGlashan via Dng (dng@lists.dyne.org):

> Horrid article that could have been written by pro-systemd Debian devs
> themselves.
> 
> https://fossforce.com/2020/02/the-verdict-on-systemd-is-in/
> 
> Throw your 2pence in, I have; not that I expect my post to actually
> remain or remain without a counter attack :(

Charging in public view (and without evidence) a reporter with having
been paid off -- check!

It must have been difficult to type that comment, with your foot
lodged so deeply in your mouth (rather difficult to see the screen;
touch-typing can get one only so far), but I commend your limbic
dexterity.

Anyhow, reading your comment (and that of the next commenter, 'systemd
refugee', who likewise made immediate resort to the ever-brilliant and
conclusive 'you were obviously paid off' argument, and one notes has yet
to learn how to spell the verb 'losing') was an experience rather like
watching the Suicide Squad in action near the end of _Life of Brian_:
https://www.youtube.com/watch?v=NUHk2RSMCS8

-- 
Cheers, "Why doesn't anyone invite copyeditors to parties,
Rick Moen   when we're such cool people out with whom to hang?"
r...@linuxmafia.com-- @laureneoneal (Lauren O'Neal)
McQ! (4x80)
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Terrible reporting / puff piece about systemd

2020-02-03 Thread Steve Litt
On Tue, 4 Feb 2020 02:11:33 +1100
Andrew McGlashan via Dng  wrote:

> Horrid article that could have been written by pro-systemd Debian devs
> themselves.
> 
> https://fossforce.com/2020/02/the-verdict-on-systemd-is-in/
> 
> Throw your 2pence in, I have; not that I expect my post to actually
> remain or remain without a counter attack :(
> 
> A.
> 

Thanks for informing us of this, Andrew. I added my two cents.

SteveT

Steve Litt 
February 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] download image ISO of beowulf

2020-02-03 Thread Ismael L. Donis Garcia
ok thanks for all your work
--
Ismael
- Original Message - 
  From: Aitor 
  To: dng@lists.dyne.org 
  Sent: Sunday, February 02, 2020 3:35 PM
  Subject: Re: [DNG] download image ISO of beowulf


  Hi,


  On 2/2/20 14:10, Aitor wrote:

Hi Ismael,


On 1/2/20 17:42, Ismael L. Donis Garcia wrote:

  Thanks for the information, I download and try it
  --
  Ismael


Today i did some improvements in the image, and it works fine with both 
legacy and UEFI.
I still didn't upload the new image, because i haven't enough space in the 
hard disk of the server.
I'm removing some stuff from it and shortly i'll upload new images for i386 
and amd64.
I'll notice you here in the mailing list. 
Cheers,

Aitor.

  I uploaded it again:

  http://gnuinos.org/Devuan%20Drafts/


  Hope you like it :)

  Aitor.






--


  ___
  Dng mailing list
  Dng@lists.dyne.org
  https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Terrible reporting / puff piece about systemd

2020-02-03 Thread spiralofhope
On Tue, 4 Feb 2020 02:11:33 +1100
Andrew McGlashan via Dng  wrote:

> https://fossforce.com/2020/02/the-verdict-on-systemd-is-in/

> Critics claimed systemd’s centralized controls violate the Unix
> philosophy of using one small program for a single, limited purpose.

Claimed?  Isn't this an objective fact?  This point lost me, and I'll
just skip straight to the juicy, juicy, comments.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng