Bug#872059: No longer creates /dev/console.

2017-08-13 Thread brsr . alternative
Package: debootstrap
Version: 1.0.89
Tags: patch

Dear maintainer,

After upgrading to Stretch, I noticed that the init scripts would no longer
produce any output on the system console during boot. Note I use a kernel with
the needed drivers linked statically lest I need to use an initramfs so this
issue may not apply with an initramfs; also, I
use sysvinit instead of systemd. After investigating, I found the cause of the
problem to be that the special file `/dev/console' was not present in the file
system; this would not be a problem normally since, when devtmpfs gets mounted,
`/dev/console' will be created, but I suppose that takes place after the kernel
starts init (probably in an init script). The relation this issue has to
debootstrap is that version 1.0.67 of debootsrap (from Jessie) created the files
in `/dev' by unpacking the archive at `/usr/share/debootstrap/devices.tar.gz';
from what I gather, it DID include `/dev/console'. Now, in the version 1.0.89,
this was changed to calls to mknod in `/usr/share/debootstrap/functions' and
`/dev/console' is NOT created.  Perhaps no longer creating it was intentional as
it is not needed with systemd (I think), but I guess you may agree that this is
not the desired behaviour since sysvinit is officially supported. The change
required in the file `functions' is minute and I included the patch; I have NOT
tested it though, sorry!

P.S. Slightly unrelated but, in the line I added in the patch, I did not quote
the path with the variable expansion for consistency with the code around it
since the paths are not quoted in the rest of that function; they should be
though!

Yours faithfully,
B.R.S.R.
1179a1180
>   mknod -m 600 $TARGET/dev/console c 5 1


Bug#869895: installations-reports: Install on Apple iBook G4 A1133 sid netinst 20170614

2017-08-13 Thread Mathieu Malaterre
On Thu, Jul 27, 2017 at 3:18 PM, John Paul Adrian Glaubitz
 wrote:
> On 07/27/2017 03:14 PM, Mathieu Malaterre wrote:
>> Did you notice the red/blue inversion during install ? It appears you
>> are using radeonfb, so I just wanted to make that clear from the
>> report.
>
> Yes, the standard background was red while the error background was
> blue. The rest of the colors seemed normal to me, however.

Great, thanks. Technically you could get radeonfb (instead of offb) to
load with the patch:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826629#71

> Another issue I observed is that suspend doesn't seem to work reliably,
> suspending works when the lid is closed. However, the machine doesn't
> wake up again upon opening the lid again.

Can you try again with package pbbuttonsd installed ?

Thanks



Re: Black screen / X issue fixed

2017-08-13 Thread Cyril Brulebois
Cyril Brulebois  (2017-08-08):
> So I've been meaning to debug the black screen in graphical installer
> for quite a while, but I've been busy with preparing for my talk, then
> discussing busybox with new recruits.
> 
> I've finally managed to bisect that down to the following dinstalls:
>   2017-06-20 22:37:45 (last OK)
>   2017-06-21 03:38:47 (first KO)
> 
> and out of the 6 packages, I've isolated the culprit:
>   libexpat1-udeb_2.2.1-1_amd64.udeb
> 
> Right afterwards I've discovered that an installer built against
> unstable… just works again. I'm suspecting the new expat upstream
> version might have been the fix we needed:
>   https://tracker.debian.org/news/860347
> 
> But I doubt it makes much sense to also isolate what/when the exact
> fix happened. I thought I would just share the “when did it break?”
> part.

This is fun: the bug is “fixed” in that the language selection screen
pops up properly, but it's not actually possible to get any input (incl.
VT switching) into the installer. I'll look into this once I'm back from
DebConf.


KiBi.


signature.asc
Description: Digital signature


Processed: Re: Bug#871751: installation-guide: please transition from jadetex to texlive-formats-extra

2017-08-13 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + patch
Bug #871751 [installation-guide] installation-guide: please transition from 
jadetex to texlive-formats-extra
Added tag(s) patch.

-- 
871751: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871751
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#871751: installation-guide: please transition from jadetex to texlive-formats-extra

2017-08-13 Thread Holger Wansing
Control: tags -1 + patch

On Fri, 11 Aug 2017 20:56:01 +0200
Samuel Thibault  wrote:
> Hello,
> 
> Holger Wansing, on ven. 11 août 2017 20:41:08 +0200, wrote:
> > jadetex is only used for creating ps variants of the manual (strictly spoken
> > to generate dvi file, as a intermediate step to create ps), and ps variant 
> > is disabled for a long time already.
> > 
> > Should we completely remove create_ps and create_dvi and ps variant from 
> > the 
> > code?
> 
> I'd say so.

I have created a patch for this, attached.
Build still works fine after applying.


Holger


-- 
Holger Wansing 
Index: build/build.sh
===
--- build/build.sh	(Revision 70818)
+++ build/build.sh	(Arbeitskopie)
@@ -23,7 +23,6 @@
 fi
 
 if [ -z "$formats" ]; then
-#formats="html pdf ps txt"
 formats="html pdf txt"
 fi
 
Index: build/buildone.sh
===
--- build/buildone.sh	(Revision 70818)
+++ build/buildone.sh	(Arbeitskopie)
@@ -4,7 +4,7 @@
 echo "$0: Generate the Debian Installer Manual in several different formats"
 echo "Usage: $0 [arch] [lang] [format]"
 echo "[format] may consist of multiple formats provided they are quoted (e.g. \"html pdf\")"
-echo "Supported formats: html, ps, pdf, txt"
+echo "Supported formats: html, pdf, txt"
 exit 0
 fi
 
@@ -179,53 +179,6 @@
 return 0
 }
 
-create_dvi () {
-
-[ -x "`which openjade 2>/dev/null`" ] || return 9
-[ -x "`which jadetex 2>/dev/null`" ] || return 9
-
-# Skip this step if the .dvi file already exists
-[ -f "$tempdir/install.${language}.dvi" ] && return
-
-echo "Info: creating temporary .tex file..."
-
-# And use openjade to generate a .tex file
-export SP_ENCODING="utf-8"
-openjade -t tex \
--b utf-8 \
--o $tempdir/install.${language}.tex \
--d $stylesheet_dsssl \
--V tex-backend declaration/xml.dcl \
-$tempdir/install.${language}.profiled.xml
-RET=$?; [ $RET -ne 0 ] && return $RET
-
-# some languages need additional macro
-case "$language" in
-ko)
-mv $tempdir/install.${language}.tex \
-$tempdir/install.${language}.orig.tex
-cat templates/header.${language}.tex \
-$tempdir/install.${language}.orig.tex \
-> $tempdir/install.${language}.tex
-rm $tempdir/install.${language}.orig.tex
-;;
-esac
-
-echo "Info: creating temporary .dvi file..."
-
-# Next we use jadetex to generate a .dvi file
-# This needs three passes to properly generate the index (page numbering)
-cd $tempdir
-for PASS in 1 2 3 ; do
-jadetex install.${language}.tex >/dev/null
-RET=$?; [ $RET -ne 0 ] && break
-done
-cd ..
-[ $RET -ne 0 ] && return $RET
-
-return 0
-}
-
 create_pdf() {
 
 [ -x "`which dblatex 2>/dev/null`" ] || return 9
@@ -242,22 +195,6 @@
 return 0
 }
 
-create_ps() {
-
-[ -x "`which dvips 2>/dev/null`" ] || return 9
-
-create_dvi
-RET=$?; [ $RET -ne 0 ] && return $RET
-
-echo "Info: creating .ps file..."
-
-dvips -q $tempdir/install.${language}.dvi
-RET=$?; [ $RET -ne 0 ] && return $RET
-mv install.${language}.ps $destdir/
-
-return 0
-}
-
 ## MAINLINE
 
 # Clean old builds
@@ -281,8 +218,8 @@
 for format in $formats ; do
 case "$language" in
 __)
-if [ "$format" = "pdf" -o "$format" = "ps" ] ; then
-echo "Warning: pdf and ps formats are currently not supported for __."
+if [ "$format" = "pdf" ] ; then
+echo "Warning: pdf format is currently not supported for __."
 BUILD_SKIP="$BUILD_SKIP $format"
 continue
 fi
@@ -291,7 +228,6 @@
 
 case $format in
 html)  create_html;;
-ps)create_ps;;
 pdf)   create_pdf;;
 txt)   create_text;;
 *)
Index: build/buildone_ng.sh
===
--- build/buildone_ng.sh	(Revision 70818)
+++ build/buildone_ng.sh	(Arbeitskopie)
@@ -8,7 +8,7 @@
 echo "from xml or po files."
 echo "Usage: $0 [arch] [lang] [format]"
 echo "[format] may consist of multiple formats provided they are quoted (e.g. \"html pdf\")"
-echo "Supported formats: html, ps, pdf, txt"
+echo "Supported formats: html, pdf, txt"
 exit 0
 fi
 
@@ -199,53 +199,6 @@
 return 0
 }
 
-create_dvi () {
-
-[ -x "`which openjade 2>/dev/null`" ] || return 9
-[ -x "`which jadetex 2>/dev/null`" ] || return 9
-
-# Skip this step if the .dvi file already exists
-[ -f "$tempdir/install.${languages}.dvi" ] && return
-
-echo "Info: creating temporary .tex file..."
-
-# And use openjade to generate a .tex file
-export SP_ENCODING="utf-8"
-openjade -t tex \
--b