Skip to content

Commit

Permalink
Add warnings about experimental nature of this branch
Browse files Browse the repository at this point in the history
Replace "jessie" with "stretch" in scripts.
  • Loading branch information
johnraff committed Jan 20, 2017
1 parent ed03cf9 commit ba4419e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
6 changes: 6 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
This is a collection of files intended to install
a close approximation of BunsenLabs Linux
on a basic command-line-only Debian Stretch system.

**NOTE**
This is an EXPERIMENTAL script, intended for developers and testers
to investigate problems with migrating BunsenLabs from Debian Jessie to Stretch.
DO NOT USE IT for systems where breakage would be a problem!

For now, it will use the "bunsen-hydrogen" suite from
the BunsenLabs Apt repository ( http://pkg.bunsenlabs.org/debian )
to install BunsenLabs packages,
Expand Down
2 changes: 1 addition & 1 deletion gen_sources
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sed -r 's/(^\s*deb(-src)?\s+[^ ]+)(\s+jessie\s+|\s+jessie-updates\s+|\s+jessie\/updates\s+|\s+jessie-backports\s+).*$/\1\3 main contrib non-free/g
sed -r 's/(^\s*deb(-src)?\s+[^ ]+)(\s+stretch\s+|\s+stretch-updates\s+|\s+stretch\/updates\s+|\s+stretch-backports\s+).*$/\1\3 main contrib non-free/g
/deb-src/s/^/#/' /etc/apt/sources.list 2> >( tee -a "$logfile" ) > sysfiles1/etc/apt/sources.list || giveup "There was a problem editing sources.list." 1
9 changes: 6 additions & 3 deletions greeting
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
This is a network installer for BunsenLabs Linux.
This is an EXPERIMENTAL network installer for
BunsenLabs Linux on Debian Stretch.

It will use the BunsenLabs Apt repository
to download and install necessary packages,
along with packages from the Debian repositories,
and do any other necessary configuration.

While there is a good chance of installing a working system,
please be ready to deal with any bugs that show up!
As this is intended only for development and testing at the moment,
do not use this "helium-dev" version of the installer for
any systems where breakage would be a problem!
6 changes: 3 additions & 3 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ echo "
$( < greeting )
This script is expected to be run just after completing a netinstall
installation of the Debian Jessie CORE SYSTEM ONLY.
installation of the Debian Stretch CORE SYSTEM ONLY.
(See \"Debian Netinstall Hints\" in the README file.)
"
confirm "Would you like to start the install now?" 0
Expand Down Expand Up @@ -183,8 +183,8 @@ bigmsg "Messages are being saved to $logfile"
cp -f pkgs-recs pkgs-norecs config "$log_dir"

# check debian version FIXME Is /etc/debian_version the best way?
grep -q '\(jessie\|\(^\|[^a-zA-Z0-9.]\)8\($\|[^a-zA-Z0-9]\)\)' /etc/debian_version && msg "Debian version: OK"|| { warnlog "/etc/debian_version reads: $(cat /etc/debian_version)"
confirm "You do not appear to have Debian Jessie installed.
grep -q '\(stretch\|\(^\|[^a-zA-Z0-9.]\)9\($\|[^a-zA-Z0-9]\)\)' /etc/debian_version && msg "Debian version: OK"|| { warnlog "/etc/debian_version reads: $(cat /etc/debian_version)"
confirm "You do not appear to have Debian Stretch installed.
If you think this is incorrect,
you may wish to continue with the installation,
otherwise it would be safer to stop.
Expand Down

0 comments on commit ba4419e

Please sign in to comment.