Re: Bug#830894: override: initscripts:admin/optional

2016-07-13 Thread Ansgar Burchardt
tag 830894 + moreinfo
tag 830895 + moreinfo
tag 830901 + moreinfo
thanks

Michael Biebl writes:
> on a Debian stretch/unstable system using systemd as init system, the
> initscripts package is no longer required. We asked all packages with
> explicit dependencies to remove it and it is now possible to uninstall
> initscripts without any ill side-effects.
> update-rc.d has been updated to cope with the fact that the facilities
> defined by initscripts do not exist.
> It is therefor safe to no longer install the initscripts package by
> default.
>
> Please lower the priority of initscripts accordingly.

Let's ping -boot@ before the change.

Dear d-i maintainers, please ack the priority change to initscripts,
sysv-rc[1] and startpar[2] from "required" to "optional".

  [1] https://bugs.debian.org/830895
  [2] https://bugs.debian.org/830901

All three packages should get pulled in by "sysvinit-core" on systems
not using systemd.

Ansgar



Processed: Split into two bugs

2016-07-13 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> clone 830951 -1
Bug #830951 [debian-installer] Support usb dongles via usb-modeswitch and 
network-manager during installation
Bug 830951 cloned as bug 831024
> retitle -1 'install a graphical package manager with cd 1'
Bug #831024 [debian-installer] Support usb dongles via usb-modeswitch and 
network-manager during installation
Changed Bug title to ''install a graphical package manager with cd 1'' from 
'Support usb dongles via usb-modeswitch and network-manager during 
installation'.
> retitle 830951 'support mobile broadband in debian installer'
Bug #830951 [debian-installer] Support usb dongles via usb-modeswitch and 
network-manager during installation
Changed Bug title to ''support mobile broadband in debian installer'' from 
'Support usb dongles via usb-modeswitch and network-manager during 
installation'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
830951: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830951
831024: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831024
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#830951: Support usb dongles via usb-modeswitch and network-manager during installation

2016-07-13 Thread Didier 'OdyX' Raboud
Le mercredi, 13 juillet 2016, 12.38:03 h CEST Pirate Praveen a écrit :
> I installed a desktop system using jessie 8.5 cd 1 image. Even though
> desktop was selected, I was booted into a text terminal because I could not
> use my usb dongle during installation. After the system is installed, I
> still could not use the dongle. After connecting my android phone and usb
> tethering, I could install usb-modeswitch and use internet.

d-i _could_ make use of usb-modeswitch{,-data} without too much hassle, but 
that would just make the GSM modems appear. Then there's modemmanager as 
interface for it, and 3gpp is also needed. This makes for a lot of packages 
needed to be installed to get a network connection *during d-i*.

> I think graphical system with synaptic should be installed on CD 1.( …)
> 
> Can we install gdm3 and synaptic on CD1?

You are mixing two entirely unrelated questions here:

* d-i context. It currently has (somewhat limited) WiFi support; we could 
discuss mobile broadband support (and this is the subject of your bugreport)
* what is installed by CD-1; you are arguing that usb-modeswitch{,-data} 
should be.

I can agree two both wishlist ideas, but they are unrelated.

-- 
Cheers,
OdyX



Bug#831003: support gzip'd kernel image

2016-07-13 Thread dann frazier
Package: flash-kernel
Version: 3.67
Tags: patch

flash-kernel currently always sets the compression type to "none" when
generating uImages. However, if the source vmlinuz file is gzip'd - as
is the case if you build the "Image.gz" kernel target - this will
prevent U-Boot from being able to boot it[1]. If the uImage is
generated with a compression type of "gzip", then it boots fine.

The attached patch checks the source image type and sets the
compression setting appropriately.

[1] At least, this is true on APM Mustang systems

diff -urpN flash-kernel-3.67/debian/changelog flash-kernel-3.68/debian/changelog
--- flash-kernel-3.67/debian/changelog	2016-06-20 00:20:31.0 -0600
+++ flash-kernel-3.68/debian/changelog	2016-07-13 09:33:53.714642651 -0600
@@ -1,3 +1,9 @@
+flash-kernel (3.68) UNRELEASED; urgency=medium
+
+  * Add support for gzip-compressed kernel images
+
+ -- dann frazier   Wed, 13 Jul 2016 09:22:49 -0600
+
 flash-kernel (3.67) unstable; urgency=medium
 
   [ Vagrant Cascadian ]
diff -urpN flash-kernel-3.67/functions flash-kernel-3.68/functions
--- flash-kernel-3.67/functions	2016-04-01 21:01:45.0 -0600
+++ flash-kernel-3.68/functions	2016-07-13 09:25:43.520547829 -0600
@@ -409,15 +409,31 @@ get_kernel_cmdline_defaults() {
 	echo "$LINUX_KERNEL_CMDLINE_DEFAULTS"
 }
 
+compress_type() {
+local file="$1"
+magic="$(od -x -N2 $file | head -1 | cut -d' ' -f2)"
+case $magic in
+	8b1f)
+	echo "gzip"
+	;;
+	*)
+	echo "none"
+	;;
+esac
+}
+
 mkimage_kernel() {
 	local kaddr="$1"
 	local epoint="$2"
 	local kdesc="$3"
 	local kdata="$4"
 	local uimage="$5"
+	local comp
+
+	comp="$(compress_type $kdata)"
 
 	printf "Generating kernel u-boot image... " >&2
-	mkimage -A arm -O linux -T kernel -C none -a "$kaddr" -e "$epoint" \
+	mkimage -A arm -O linux -T kernel -C $comp -a "$kaddr" -e "$epoint" \
 		-n "$kdesc" -d "$kdata" "$uimage" >&2 1>/dev/null
 	echo "done." >&2
 }
diff -urpN flash-kernel-3.67/test_functions flash-kernel-3.68/test_functions
--- flash-kernel-3.67/test_functions	2016-02-14 21:01:43.0 -0700
+++ flash-kernel-3.68/test_functions	2016-07-13 09:28:35.812630206 -0600
@@ -569,23 +569,40 @@ test_set_machine_id() {
 }
 add_test test_set_machine_id
 
-test_mkimage_kernel() {
+_test_mkimage_kernel() {
+local kdata="$1"
+local expected="$2"
 (
 mkimage() {
 saved_args="$@"
 }
 . "$functions"
 saved_args=""
-mkimage_kernel "0xdeadbeef" "0xbaddcafe" "desc" "input" "output" 2>/dev/null
-expected="-A arm -O linux -T kernel -C none -a 0xdeadbeef -e 0xbaddcafe -n desc -d input output"
+mkimage_kernel "0xdeadbeef" "0xbaddcafe" "desc" "$kdata" "output" 2>/dev/null
 if [ "$expected" != "$saved_args" ]; then
 echo "Expected mkimage_kernel to be called with \"$expected\" but it was called with \"$saved_args\"" >&2
-exit 1
+return 1
 fi
 )
 }
+
+test_mkimage_kernel() {
+local kdata="/dev/zero"
+local expected="-A arm -O linux -T kernel -C none -a 0xdeadbeef -e 0xbaddcafe -n desc -d $kdata output"
+_test_mkimage_kernel "$kdata" "$expected" || exit 1
+}
 add_test test_mkimage_kernel
 
+test_mkimage_kernel_gzip() {
+local kdata="$(mktemp)"
+gzip < /dev/null > "$kdata"
+
+local expected="-A arm -O linux -T kernel -C gzip -a 0xdeadbeef -e 0xbaddcafe -n desc -d $kdata output"
+_test_mkimage_kernel "$kdata" "$expected" || exit 1
+rm -f "$kdata"
+}
+add_test test_mkimage_kernel_gzip
+ 
 test_mkimage_initrd() {
 (
 mkimage() {


Bug#830308: d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations

2016-07-13 Thread Christian PERRIER
Quoting Cyril Brulebois (k...@debian.org):
> Christian PERRIER  (2016-07-11):
> > […]
> > (notice the line after "../rescue-mode.templates:21001")
> > 
> > In short, Steve's attempt to fix the translation broke the PO file.
> > 
> > And, later on, l10n-sync choke on this.
> > 
> > And thus, the fix is to make l10n-sync more resilient to this and for
> > instance have it to test the validity of "master" PO files before
> > working with them.
> 
> Many thanks for this. I'll try and join the fun later on today, once I'm
> done with other urgent matters. As I mentioned, l10n-sync needs some
> patching, and I'll be happy to deal with it once time allows.


I started working on a patch that will at least run "msgcat -c" on PO
files at some critical steps.

The first place where this is needed is the place in l10n-sync where
we merge all sublevel PO files for a given language into one big
"master" file, that is, later on, used to update individual packages'
files.

I found at least one place where a broken PO file is happily merged
with other file without error being thrown out. This is what explains
the current breakage on da.po and be.po

I'm currently testing a patch to fix this and have l10n-sync abort its
operations when this happens.




signature.asc
Description: PGP signature


Bug#830951: Support usb dongles via usb-modeswitch and network-manager during installation

2016-07-13 Thread Pirate Praveen
On Wednesday 13 July 2016 06:39 PM, Holger Wansing wrote:
> With a CD1 install without network, you probably don't get an GUI system.
> This is a known problem, see
> https://www.debian.org/releases/stable/debian-installer/

I understand the limitation, but thinks the solution can be better than
what we have currently. gdm3, gnome-session and synaptic will be a
better default (as gnome-desktop-enviroment is bigger than can be bit
into a CD) than a system without a gui. This allows a user to install
required packages from the network.




signature.asc
Description: OpenPGP digital signature


Bug#830951: Support usb dongles via usb-modeswitch and network-manager during installation

2016-07-13 Thread Holger Wansing
Hi,

Pirate Praveen  wrote:
> package: debian-installer
> Severity: wishlist
> 
> I installed a desktop system using jessie 8.5 cd 1 image. Even though desktop 
> was selected, I was booted into a text terminal because I could not use my 
> usb dongle during installation. After the system is installed, I still could 
> not use the dongle. After connecting my android phone and usb tethering, I 
> could install usb-modeswitch and use internet.
> 
> I think graphical system with synaptic should be installed on CD 1. I 
> understand the whole gnome can't fit into a CD, but it should be in a 
> position to be able to install more software.
> 
> Can we install gdm3 and synaptic on CD1?

With a CD1 install without network, you probably don't get an GUI system.
This is a known problem, see
https://www.debian.org/releases/stable/debian-installer/


Holger

-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/




Re: Danish Sublevel 1 translation deleted

2016-07-13 Thread Holger Wansing
Hi,

Christian PERRIER  wrote:
> Quoting Joe Dalton (joedalt...@yahoo.dk):
> > seems like a job has deleted all Danish translations for Sublevel 1. (and I 
> > think also be)
> > 
> > anybody who knows who dl-l10n-guest is? And how to get it fixed again?
> > 
> > https://d-i.debian.org/l10n-stats/ (da and be 0 %)
> > 
> > bye
> > Joe
> > Danish
> > 
> > Revision 70262 - (view) (download) (annotate) - [select for diffs]
> > Modified Sun Jul 3 22:07:13 2016 UTC (7 days ago) by di-l10n-guest
> > File length: 90068 byte(s)
> > Diff to previous 70248
> > 
> > [l10n] Updated packages/po/* against package templates
> > 
> 
> This is due to a bug in l10n-sync which we need to identify.
> 
> It can be reverted at any moment to  the version with 100% but we
> actually need to investigate what happened.
> 
> For that reason, Cyril, ou D-I release manager prefers me to not
> revert the commits right now.
> 
> For the record, dl10n-guest is the account under which automated
> commits by l10n-sync are made.


That is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830308


-- 

Created with Sylpheed 3.5.0 under
D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/




Bug#830308: d-i.debian.org: l10n-sync script breaks headers in individual package files in some situations

2016-07-13 Thread Cyril Brulebois
Christian PERRIER  (2016-07-11):
> […]
> (notice the line after "../rescue-mode.templates:21001")
> 
> In short, Steve's attempt to fix the translation broke the PO file.
> 
> And, later on, l10n-sync choke on this.
> 
> And thus, the fix is to make l10n-sync more resilient to this and for
> instance have it to test the validity of "master" PO files before
> working with them.

Many thanks for this. I'll try and join the fun later on today, once I'm
done with other urgent matters. As I mentioned, l10n-sync needs some
patching, and I'll be happy to deal with it once time allows.


KiBi.


signature.asc
Description: Digital signature


Bug#830951: Support usb dongles via usb-modeswitch and network-manager during installation

2016-07-13 Thread Pirate Praveen
package: debian-installer
Severity: wishlist

I installed a desktop system using jessie 8.5 cd 1 image. Even though desktop 
was selected, I was booted into a text terminal because I could not use my usb 
dongle during installation. After the system is installed, I still could not 
use the dongle. After connecting my android phone and usb tethering, I could 
install usb-modeswitch and use internet.

I think graphical system with synaptic should be installed on CD 1. I 
understand the whole gnome can't fit into a CD, but it should be in a position 
to be able to install more software.

Can we install gdm3 and synaptic on CD1?