Bug#795538: debian-installer: 990FX boards cant install in UEFI mode

2015-08-15 Thread Richard Jasmin
Package: debian-installer
Severity: important
Tags: d-i patch

This is simply a manufacturing defect on 990FX boards made by ASUS. I can
confirm at least on the Crosshair V that ASUS refuses to fix the problem. UEFI
is technically supported and windows 8+ uses it as these are 64-bit boards.
HOWEVER, along comes a penguin and all goes to hell. EVERY SINGLE LINUX I try
is forced to use MSDOS/MBR setup instead of UEFI/GPT. It doesnt matter if the
install succeeds or boots. One change after install to the boot sequence and
the hard disk is no longer bootable.This is caused by the BIOS forcing a seek
to partition 4/5 of the drive where the bootloader is not.Using USB media with
EFI files will not work either, the partition is in the wrong place for the
BIOS to boot from it. This should never be. EFI files should boot from the
FIRST partition of ANY device. I believe INTEL made this specification.

The ONLY way this system will work is to install (or force install) into
MSDOS/MBR mode, where partition 4/5 are therefore bootable.

This can be accomplished in two ways:
1) install and intentionally cause the drive to fail to boot, then reinsert
install media and try again.
2) wipe the disk, install another i386 version of linux  and say no to UEFI
mode. DO NOT FORCE it. The installer will not force UEFI by itself during
partitioning.
3) throw the x64 install media away and use the i386 one instead.

As I said, this is a 64bit system, so really no point in doing #3.

This bug is not debian specific.Fedora flip flops between the two modes and
forces a system wide format on each install.It took awhile to figure out the
problem. A BIOS update may fix this if ASUS could be bothered to produce one.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Processing of debian-installer_20150422+kbsd8u1_source.changes

2015-08-15 Thread Debian FTP Masters
debian-installer_20150422+kbsd8u1_source.changes uploaded successfully to 
localhost
along with the files:
  debian-installer_20150422+kbsd8u1.dsc
  debian-installer_20150422+kbsd8u1.tar.gz

Greetings,

Your Debian queue daemon (running on host franck.debian.org)



Processing of debian-installer_20150422+kbsd8u1_source.changes

2015-08-15 Thread Debian FTP Masters
debian-installer_20150422+kbsd8u1_source.changes uploaded successfully to 
ftp-master.debian.org
along with the files:
  debian-installer_20150422+kbsd8u1.dsc
  debian-installer_20150422+kbsd8u1.tar.gz

Greetings,

Your Debian queue daemon (running on host coccia.debian.org)



Bug#794265: flash-kernel subsequent actions result in segfault

2015-08-15 Thread Michele Cane
A quick update:

The same problem persists with kernel 4.1.0

On Tue, Aug 4, 2015 at 7:38 PM Michele Cane  wrote:

> Yes is segfaults just after flash-kernel is run without any reboot.
> Rebooting solves the segfault issue.
>
> On Tue, Aug 4, 2015 at 7:04 PM Martin Michlmayr  wrote:
>
>> Are you saying the segfaults started after flash-kernel was run?
>> Without rebooting to the new kernel?
>>
>> --
>> Martin Michlmayr
>> http://www.cyrius.com/
>>
> --
> Michele Cane, Ph.D.
>
-- 
Michele Cane, Ph.D.


Bug#783773: marked as done (debian-installer: supporting low-memory kfreebsd installs)

2015-08-15 Thread Debian Bug Tracking System
Your message dated Sat, 15 Aug 2015 09:50:20 +
with message-id 
and subject line Bug#783773: fixed in debian-installer 20150422+kbsd8u1
has caused the Debian Bug report #783773,
regarding debian-installer: supporting low-memory kfreebsd installs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
783773: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783773
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20150422
Severity: wishlist
Tags: patch

To follow shortly are some patches in the jessie-kfreebsd branch that
should be applicable to sid also.

Reducing MFSROOT size very slightly allows the kfreebsd-amd64 installer
to work again on systems with 144 MiB total memory.  Whether using the
GTK or non-GTK image, it will run in low-memory text mode.

There seems to be enough free memory to run in GTK mode even on 256 MiB
systems, so I've enabled that.  This is highly desirable, since GTK mode
enables many more locales than are available in text mode.

256 MiB is probably the smallest amount of memory that will be found in
a real amd64 machine.  Virtual machines will typically have much more
than this, but a notable exception is qemu-system-x84_64 in wheezy,
which defaults to 128 MiB;  there is no way we can support that in
jessie-kfreebsd.

The most memory-hungry thing is ZFS.  Giving only 128 MiB swap, a GTK
install can be completed to ZFS with only 256 MiB total memory.  partman
does already prompt users to create swap *and* recommend 512 MiB memory
to use ZFS.  (Without any swap, install to ZFS will fail even in text
mode and with 512 MiB memory, so using GTK mode has no detriment on
ZFS installs).

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: debian-installer
Source-Version: 20150422+kbsd8u1

We believe that the bug you reported is fixed in the latest version of
debian-installer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 783...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steven Chamberlain  (supplier of updated debian-installer 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Sun, 26 Apr 2015 22:34:25 +
Source: debian-installer
Binary: debian-installer
Architecture: source
Version: 20150422+kbsd8u1
Distribution: jessie-kfreebsd
Urgency: medium
Maintainer: Debian Install System Team 
Changed-By: Steven Chamberlain 
Description:
 debian-installer - Debian installer
Closes: 783773
Changes:
 debian-installer (20150422+kbsd8u1) jessie-kfreebsd; urgency=medium
 .
   * Rebuild using udebs from the jessie-kfreebsd suite, also using
 that as /etc/default-release, as used by choose-mirror.
   * Slightly reduce kfreebsd-amd64 MFSROOT to 68 MiB, reducing total
 memory requirement to 160 MiB and leaving about 4 MiB safety margin.
 (Closes: #783773)
   * Enable PROPOSED_UPDATES, since we are staging the jessie-kfreebsd
 release there.
Checksums-Sha1:
 8fc8a1c709c2f3ec8e0cf220f7a7d96b6ba5a0ed 3179 
debian-installer_20150422+kbsd8u1.dsc
 c0631f8e8c0f070da34dce93a6ee62ea93ef0457 20603131 
debian-installer_20150422+kbsd8u1.tar.gz
Checksums-Sha256:
 fa61019092df85340fa02762161640829478b2d11cb8e1ce7331367aa0545bbb 3179 
debian-installer_20150422+kbsd8u1.dsc
 c15a5c7f0ca0be7beae6cc0cebabce7ffe8f60263d9a11a70bfa8bee138c7898 20603131 
debian-installer_20150422+kbsd8u1.tar.gz
Files:
 6047f177a32286b98d02b63b26ee86f0 3179 devel optional 
debian-installer_20150422+kbsd8u1.dsc
 bee4719adf25e0336a86b8bb3025f849 20603131 devel optional 
debian-installer_20150422+kbsd8u1.tar.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVzuvCAAoJELrpzbaMAu5T3NsH/3OAoePNcEIDA0Q/mTa0Zq7q
RjQzp0jq2TQhhLdBZ5Fdu1eh4z+S47csCpI8pvJTVzvrMFDrcheLlyk/jU8dLjHk
CJAhJ8bGbIvpig0GnLIT0ZK19gdWxo5FEaCg+tJguNusWcwYqD4boQRrQr2lRTIl
MKq4RQ5Op8b3Ud2+X/TBeO4OIBF0vAjUy9otY

debian-installer_20150422+kbsd8u1_source.changes ACCEPTED into stable-kfreebsd-proposed-updates

2015-08-15 Thread Debian FTP Masters
Mapping jessie-kfreebsd to stable-kfreebsd.
Mapping stable-kfreebsd to stable-kfreebsd-proposed-updates.

Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Sun, 26 Apr 2015 22:34:25 +
Source: debian-installer
Binary: debian-installer
Architecture: source
Version: 20150422+kbsd8u1
Distribution: jessie-kfreebsd
Urgency: medium
Maintainer: Debian Install System Team 
Changed-By: Steven Chamberlain 
Description:
 debian-installer - Debian installer
Closes: 783773
Changes:
 debian-installer (20150422+kbsd8u1) jessie-kfreebsd; urgency=medium
 .
   * Rebuild using udebs from the jessie-kfreebsd suite, also using
 that as /etc/default-release, as used by choose-mirror.
   * Slightly reduce kfreebsd-amd64 MFSROOT to 68 MiB, reducing total
 memory requirement to 160 MiB and leaving about 4 MiB safety margin.
 (Closes: #783773)
   * Enable PROPOSED_UPDATES, since we are staging the jessie-kfreebsd
 release there.
Checksums-Sha1:
 8fc8a1c709c2f3ec8e0cf220f7a7d96b6ba5a0ed 3179 
debian-installer_20150422+kbsd8u1.dsc
 c0631f8e8c0f070da34dce93a6ee62ea93ef0457 20603131 
debian-installer_20150422+kbsd8u1.tar.gz
Checksums-Sha256:
 fa61019092df85340fa02762161640829478b2d11cb8e1ce7331367aa0545bbb 3179 
debian-installer_20150422+kbsd8u1.dsc
 c15a5c7f0ca0be7beae6cc0cebabce7ffe8f60263d9a11a70bfa8bee138c7898 20603131 
debian-installer_20150422+kbsd8u1.tar.gz
Files:
 6047f177a32286b98d02b63b26ee86f0 3179 devel optional 
debian-installer_20150422+kbsd8u1.dsc
 bee4719adf25e0336a86b8bb3025f849 20603131 devel optional 
debian-installer_20150422+kbsd8u1.tar.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJVzuvCAAoJELrpzbaMAu5T3NsH/3OAoePNcEIDA0Q/mTa0Zq7q
RjQzp0jq2TQhhLdBZ5Fdu1eh4z+S47csCpI8pvJTVzvrMFDrcheLlyk/jU8dLjHk
CJAhJ8bGbIvpig0GnLIT0ZK19gdWxo5FEaCg+tJguNusWcwYqD4boQRrQr2lRTIl
MKq4RQ5Op8b3Ud2+X/TBeO4OIBF0vAjUy9otYR1bKzOtM6ZKw4+J8tWfAkGZPBHh
JMkDBW7kqReq4uOGDE7wXgfYAjqPjam3F7efHfOiFYwdcfZAMTBez7VbLGGWfeck
R1SjV4oyNk8Z8XoG35/dB8WDTHms9yV0h8I0VMbWfoc4nlXmALekr6+hUc6tvWk=
=oCgs
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



[RFC] Architecture detection patches in multiarch CDs

2015-08-15 Thread Didier 'OdyX' Raboud
Dear all,

After three DebConfs discussing this (but only actually using DebConf 
space/time to actually work on it), and taking the opportunity of the 
immediate post stretch-alpha2 period, I'd like to discuss two 
architecture detection patches for a smarter boot of multiarch CDs.

* 0001-Add-syslinux-machinery-to-use-ifcpu64.c32-on-multi-a.patch

This is a patch against installer.git, to add the needed files in the 
boot directory: All x86* menu entries are moved under x86menu.cfg and 
x86.cfg. x86.cfg is roughly equivalent to menu.cfg and is meant to be a 
direct vesamenu.cfg argument (for when the detection code says only 32 
bits is possible), x86menu.cfg is the wrapper around this when 32 bits 
is a sub-option of the 64bits menu.

x86syslinux.cfg is the new start menu leveraging ifcpu64.c32 and 
launching vesamenu.c32 upon detection.

* 0001-Add-management-of-arch-detection-from-d-i-in-isolinu.patch

This is a patch against debian-cd.git. Inclusion of ifcpu64.c32 (1.7k) 
is only done on the second run (MULTIARCH=1), and the second thing this 
does is to use the x86syslinux.cfg (named that way so that it becomes 
deleted on non-multiarch deployments) and use it as isolinux.cfg.

Comments, ideas?

Cheers,
OdyX>From 172aa231a60f0886cbafb2b2a943e81b00042212 Mon Sep 17 00:00:00 2001
From: Didier Raboud 
Date: Sat, 15 Aug 2015 15:13:04 +0200
Subject: [PATCH] Add syslinux machinery to use ifcpu64.c32 on multi-arch CDs,
 for CPU 64-bits capability detection

---
 build/boot/x86/menu.cfg|  8 +---
 build/boot/x86/x86.cfg | 25 +
 build/boot/x86/x86menu.cfg |  6 ++
 build/boot/x86/x86syslinux.cfg | 15 +++
 debian/changelog   |  7 +++
 5 files changed, 54 insertions(+), 7 deletions(-)
 create mode 100644 build/boot/x86/x86.cfg
 create mode 100644 build/boot/x86/x86menu.cfg
 create mode 100644 build/boot/x86/x86syslinux.cfg

diff --git a/build/boot/x86/menu.cfg b/build/boot/x86/menu.cfg
index 4fada91..251d3e8 100644
--- a/build/boot/x86/menu.cfg
+++ b/build/boot/x86/menu.cfg
@@ -4,9 +4,7 @@ menu width 61
 menu title ${BEEP}Debian GNU/Linux installer boot menu
 include ${SYSDIR}stdmenu.cfg
 include ${SYSDIR}gtk.cfg
-include ${SYSDIR}x86gtk.cfg
 include ${SYSDIR}txt.cfg
-include ${SYSDIR}x86txt.cfg
 menu begin advanced
 menu label ^Advanced options
 	menu title Advanced options
@@ -15,10 +13,9 @@ menu begin advanced
 		menu label ^Back..
 		menu exit
 	include ${SYSDIR}adgtk.cfg
-	include ${SYSDIR}x86adgtk.cfg
 	include ${SYSDIR}adtxt.cfg
-	include ${SYSDIR}x86adtxt.cfg
 menu end
+include ${SYSDIR}x86menu.cfg
 label help
 	menu label ^Help
 	text help
@@ -26,6 +23,3 @@ label help
 	endtext
 	config ${SYSDIR}prompt.cfg
 include ${SYSDIR}spkgtk.cfg
-include ${SYSDIR}x86spgtk.cfg
-include ${SYSDIR}spk.cfg
-include ${SYSDIR}x86spk.cfg
diff --git a/build/boot/x86/x86.cfg b/build/boot/x86/x86.cfg
new file mode 100644
index 000..ab7a559
--- /dev/null
+++ b/build/boot/x86/x86.cfg
@@ -0,0 +1,25 @@
+menu hshift 7
+menu width 61
+
+menu title ${BEEP}Debian GNU/Linux 32bits installer menu
+include ${SYSDIR}stdmenu.cfg
+
+include ${SYSDIR}x86gtk.cfg
+include ${SYSDIR}x86txt.cfg
+menu begin advanced
+menu label ^Advanced options
+menu title Advanced options
+include ${SYSDIR}stdmenu.cfg
+label mainmenu
+menu label ^Back..
+menu exit
+include ${SYSDIR}x86adgtk.cfg
+include ${SYSDIR}x86adtxt.cfg
+menu end
+label help
+menu label ^Help
+text help
+   Display help screens; type 'menu' at boot prompt to return to this menu
+endtext
+config ${SYSDIR}prompt.cfg
+include ${SYSDIR}x86spkgtk.cfg
diff --git a/build/boot/x86/x86menu.cfg b/build/boot/x86/x86menu.cfg
new file mode 100644
index 000..662917c
--- /dev/null
+++ b/build/boot/x86/x86menu.cfg
@@ -0,0 +1,6 @@
+menu begin x86
+menu label ^32 bit install options
+menu title 32 bit install options
+include ${SYSDIR}stdmenu.cfg
+include ${SYSDIR}x86.cfg
+menu end
diff --git a/build/boot/x86/x86syslinux.cfg b/build/boot/x86/x86syslinux.cfg
new file mode 100644
index 000..716c415
--- /dev/null
+++ b/build/boot/x86/x86syslinux.cfg
@@ -0,0 +1,15 @@
+# D-I config version 3.0
+# search path for the c32 support libraries (libcom32, libutil etc.)
+path ${SYSDIR}
+label archdetect
+ kernel ${SYSDIR}ifcpu64.c32
+ append amd64 -- i386
+label amd64
+ kernel ${SYSDIR}vesamenu.c32
+ append menu.cfg
+label i386
+ kernel ${SYSDIR}vesamenu.c32
+ append x86.cfg
+default archdetect
+prompt 0
+timeout 0
diff --git a/debian/changelog b/debian/changelog
index 07795bb..98ab917 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debian-installer (20150815) UNRELEASED; urgency=medium
+
+  * Add syslinux machinery to use ifcpu64.c32 on multi-arch CDs, for CPU
+64-bits capability detection
+
+ -- Didier Raboud   Sat, 15 Aug 2015 15:43:05 +0200
+
 debian-i

Dead links for alpha2 netinst images on debian-installer page

2015-08-15 Thread Holger Wansing
Hi,

I just noticed that on 
https://www.debian.org/devel/debian-installer/ under
"Official release" there are several dead links for Stretch alpha2:

all the links for the netinst images (all archs) are 404, because of a 
changing in the naming scheme of the image files:

the links point to
debian-stretch-DI-a2-i386-netinst.iso
but the files are named
debian-stretch-DI-alpha2-i386-netinst.iso


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: Dead links for alpha2 netinst images on debian-installer page

2015-08-15 Thread Cyril Brulebois
Hi,

Holger Wansing  (2015-08-15):
> I just noticed that on 
> https://www.debian.org/devel/debian-installer/ under
> "Official release" there are several dead links for Stretch alpha2:
> 
> all the links for the netinst images (all archs) are 404, because of a 
> changing in the naming scheme of the image files:
> 
> the links point to
>   debian-stretch-DI-a2-i386-netinst.iso
> but the files are named
>   debian-stretch-DI-alpha2-i386-netinst.iso

Yeah, I've prepared the website in advance (compared to cdimage) for
once, and I've just discovered that myself once Steve signed & published
images; I've mentioned it on IRC, awaiting feedback from Steve.

Thanks for the notice anyway, much appreciated!

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: Dead links for alpha2 netinst images on debian-installer page

2015-08-15 Thread Cyril Brulebois
Hi again,

Cyril Brulebois  (2015-08-15):
> Holger Wansing  (2015-08-15):
> > I just noticed that on 
> > https://www.debian.org/devel/debian-installer/ under
> > "Official release" there are several dead links for Stretch alpha2:
> > 
> > all the links for the netinst images (all archs) are 404, because of a 
> > changing in the naming scheme of the image files:
> > 
> > the links point to
> > debian-stretch-DI-a2-i386-netinst.iso
> > but the files are named
> > debian-stretch-DI-alpha2-i386-netinst.iso
> 
> Yeah, I've prepared the website in advance (compared to cdimage) for
> once, and I've just discovered that myself once Steve signed & published
> images; I've mentioned it on IRC, awaiting feedback from Steve.

“discovered” as in: I forgot I requested this change (trying to use the
same version string everywhere), and the changes in debian-cd were
applied, so everything looks good now. I've just pushed a commit to
webwml CVS updating a2 into alpha2, and the 19:24 (UTC) website rebuild
should do the job.

Thanks again for your feedback.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Debian Installer Stretch Alpha 2 release

2015-08-15 Thread Cyril Brulebois
The Debian Installer team[1] is pleased to announce the second alpha
release of the installer for Debian 9 "Stretch", live from the DebConf
Birthday Party in Heidelberg, Germany!


Important change in this release of the installer
=

 * The biggest change in this release is the update of the linux kernel,
   from the 4.0 series to the 4.1 one.
 

Other improvements in this release
==

 * debian-installer:
- Fix missing "Rescue" menu in "Advanced options" for multi-arch
  image (#793118).
- Replace ttf-cjk-compact-udeb with fonts-android-udeb (#794432).
  This should ensure no glyphs are missing for Chinese, Japanese,
  and Korean. Please report any issues with these languages!
 * oldsys-preseed:
- Use DHCP by default on LaCie devices.
 * systemd/udev-udeb:
- Stop copying 70-persistent-* rules (net.ifnames is the default).
- Restore "notice" log level for udevd in the installer.
 * u-boot:
- u-boot-sunxi: enable Mini-X target (#787266).
- Add support for Tegra Jetson TK-1 (#788689).
- u-boot now has fw_env.config examples for mx6cuboxi and wandboard
  (#786877).


Localization status   
===   
  
 * 75 languages are supported in this release.
 * Full translation for 7 of them.


Known bugs in this release
==

 * Encryption installs are broken at this time (#793643, #795463).
 * The installer is still using the Jessie theme (#793125).

See the errata[2] for details and a full list of known issues.


Feedback for this release
=

We need your help to find bugs and further improve the installer,
so please try it. Installer CDs, other media and everything else you
will need are available at our web site[3].


Thanks
==

The Debian Installer team thanks everybody who has contributed to this
release.


 1. http://wiki.debian.org/DebianInstaller/Team
 2. http://www.debian.org/devel/debian-installer/errata
 3. http://www.debian.org/devel/debian-installer

-- 
Cyril Brulebois
on behalf of the Debian Installer Team


signature.asc
Description: Digital signature


Bug#795625: oldsys-preseed: FTBFS under some locales (eg.

2015-08-15 Thread Chris Lamb
Source: oldsys-preseed
Version: 3.18
Severity: serious
Tags: patch
Justification: fails to build from source

Dear Maintainer,

oldsys-preseed fails to build from source on unstable/amd64 under some
locales (eg. LANG=fr_CH.UTF-8):

  [..]

  Running test arm/nslu2_invalid_hostname... ok
  Running test arm/nslu2_static_no_dns... ---
  arm/nslu2_static_no_dns.preseed 2011-05-05 10:29:52.0
  +1400
  +++ /tmp/fileSlf9om 2015-07-24 04:40:44.883126572 +1400
  @@ -3,7 +3,7 @@
   d-i netcfg/get_ipaddress string 192.168.1.77
   d-i netcfg/get_netmask string 255.255.255.0
   d-i netcfg/get_gateway string 192.168.1.1
  -d-i netcfg/get_nameservers string 192.168.1.1
  +d-i netcfg/get_nameservers string Binary file (standard input)
  matches Binary file (standard input) matches Binary file (standard
  input) matches
   d-i netcfg/choose_interface select eth0
   d-i netcfg/use_dhcp boolean true
  -d-i netcfg/get_hostname string foobar
  +d-i netcfg/get_domain string Binary file (standard input) matches
  not ok
  Running test arm/nslu2_static_no_gw... ok
  Running test arm/nslu2_static_no_ip... ---
  arm/nslu2_static_no_ip.preseed   2011-05-05 10:29:52.0
  +1400
  +++ /tmp/fileAZzknD 2015-07-24 04:40:45.407118543 +1400
  @@ -3,7 +3,7 @@
   d-i netcfg/get_ipaddress string 192.168.1.77
   d-i netcfg/get_netmask string 255.255.255.0
   d-i netcfg/get_gateway string 192.168.1.1
  -d-i netcfg/get_nameservers string 213.33.99.70
  +d-i netcfg/get_nameservers string Binary file (standard input)
  matches Binary file (standard input) matches Binary file (standard
  input) matches
   d-i netcfg/choose_interface select eth0
   d-i netcfg/use_dhcp boolean true
  -d-i netcfg/get_hostname string foobar
  +d-i netcfg/get_domain string Binary file (standard input) matches
  not ok
  Running test arm/nslu2_static... ok

  [..]

  debian/rules:11: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/oldsys-preseed-3.18'
  debian/rules:3: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

  
https://reproducible.debian.net/logs/unstable/amd64/oldsys-preseed_3.18.build2.log.gz

This is because of grep's automagic locale detection. Patch attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/functions b/functions
index a3a7d90..f770ab1 100644
--- a/functions
+++ b/functions
@@ -103,7 +103,7 @@ parse_ifconfig() {
 # $1 = string
 # $2 = var
 get_var() {
-   echo "$1" | grep "^$2=" | sed "s/^$2=//"
+   echo "$1" | grep -a "^$2=" | sed "s/^$2=//"
 }
 
 # Get the value from a string in the form of var = "value" from a file.
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: vendredi 24 juillet 2015, 04:40:15 (UTC+1400)
I: pbuilder-time-stamp: 1437662415
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
I: user script 
/var/cache/pbuilder/build//33982/tmp/hooks/D01_modify_environment starting
I: Changing hostname to test build reproducibility
I: user script 
/var/cache/pbuilder/build//33982/tmp/hooks/D01_modify_environment finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team 
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9), devio
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20236 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on devio; however:
  Package devio is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  de

Include scripts in post-base-installer.d hook directory

2015-08-15 Thread Jorge Ernesto Guevara Cuenca
Hello,

I builded an image of debian cd with simple cdd that contain pacakges that
i need to install after the base system is installed.

I want install this packages with a script in the  post-base-installer.d
hook directory but i don't know how copy the script to that directory to
build an installer image that include this script.

Is mandatory build an udeb for this or exist other way?


Thanks,
-- 
Jorge Ernesto Guevara Cuenca