Merge lp:~rbalint/libdebian-installer/libdebian-installer-0.110ubuntu1 into lp:~ubuntu-core-dev/libdebian-installer/ubuntu

Proposed by Balint Reczey
Status: Merged
Merged at revision: 399
Proposed branch: lp:~rbalint/libdebian-installer/libdebian-installer-0.110ubuntu1
Merge into: lp:~ubuntu-core-dev/libdebian-installer/ubuntu
Diff against target: 522 lines (+162/-40)
17 files modified
Makefile.am (+4/-1)
configure.ac (+7/-2)
debian/changelog (+82/-0)
debian/control (+5/-3)
debian/rules (+5/-0)
include/debian-installer/package.h (+1/-1)
include/debian-installer/package_internal.h (+1/-1)
include/debian-installer/release.h (+2/-2)
src/exec.c (+1/-0)
src/libdebian-installer-extra.ver (+7/-3)
src/libdebian-installer.ver (+18/-14)
src/package.c (+1/-1)
src/package_parser.c (+4/-4)
src/packages_parser.c (+2/-2)
src/release.c (+6/-6)
src/system/Makefile.am (+1/-0)
src/system/subarch-arm-linux.c (+15/-0)
To merge this branch: bzr merge lp:~rbalint/libdebian-installer/libdebian-installer-0.110ubuntu1
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Approve
Review via email: mp+323621@code.launchpad.net

Description of the change

* Merge from Debian unstable. (LP: #1688246) Remaining changes:
  - Add more OMAP4 Panda support.
  - Add OMAP4 Blaze support.
  - Add Freescale "P4080 DS" and "QEMU e500" support.
  - Point to Bazaar packaging repository on Launchpad

To post a comment you must log in.
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

LGTM, but it will need some other rebuilds to fully take effect (libd-i has multiple reverse-depends).

I'm merging, and I'll verify that the other bits still build correctly.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile.am'
2--- Makefile.am 2015-05-24 22:16:15 +0000
3+++ Makefile.am 2017-05-04 17:27:22 +0000
4@@ -1,6 +1,9 @@
5 AUTOMAKE_OPTIONS = foreign
6
7-SUBDIRS = doc include src test
8+SUBDIRS = doc include src
9+if ENABLE_CHECK
10+SUBDIRS += test
11+endif
12
13 pkgconfigdir = ${libdir}/pkgconfig
14 pkgconfig_DATA = \
15
16=== modified file 'configure.ac'
17--- configure.ac 2015-05-24 22:16:15 +0000
18+++ configure.ac 2017-05-04 17:27:22 +0000
19@@ -7,13 +7,18 @@
20
21 AC_CHECK_FUNCS(memrchr)
22
23+AC_ARG_ENABLE([check],AS_HELP_STRING([--disable-check],[Disable running the test suite]))
24+
25 AC_CHECK_PROGS(DOXYGEN, doxygen, true)
26
27-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
28+AS_IF([test "x$enable_check" != xno],[
29+ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
30+])
31+AM_CONDITIONAL([ENABLE_CHECK],[test "x$enable_check" != xno])
32
33 LIBRARY_VERSION_MAJOR=4
34 LIBRARY_VERSION_MINOR=0
35-LIBRARY_VERSION_REVISION=7
36+LIBRARY_VERSION_REVISION=8
37 LIBRARY_VERSION="$LIBRARY_VERSION_MAJOR.$LIBRARY_VERSION_MINOR.$LIBRARY_VERSION_REVISION"
38 LIBRARY_VERSION_LIBTOOL="$LIBRARY_VERSION_MAJOR:$LIBRARY_VERSION_MINOR:$LIBRARY_VERSION_REVISION"
39
40
41=== modified file 'debian/changelog'
42--- debian/changelog 2017-05-04 15:59:21 +0000
43+++ debian/changelog 2017-05-04 17:27:22 +0000
44@@ -1,3 +1,85 @@
45+libdebian-installer (0.110ubuntu1) artful; urgency=low
46+
47+ * Merge from Debian unstable. (LP: #1688246) Remaining changes:
48+ - Add more OMAP4 Panda support.
49+ - Add OMAP4 Blaze support.
50+ - Add Freescale "P4080 DS" and "QEMU e500" support.
51+ - Point to Bazaar packaging repository on Launchpad
52+
53+ -- Balint Reczey <rbalint@ubuntu.com> Thu, 04 May 2017 13:36:00 +0200
54+
55+libdebian-installer (0.110) unstable; urgency=medium
56+
57+ [ Martin Michlmayr ]
58+ * subarch-arm-linux.c: Add NETGEAR ReadyNAS Duo v2. Closes: #855965
59+
60+ -- Christian Perrier <bubulle@debian.org> Wed, 22 Mar 2017 11:59:18 +0100
61+
62+libdebian-installer (0.109) unstable; urgency=medium
63+
64+ [ Samuel Thibault ]
65+ * Fix build with gcc-7. Closes: #853489
66+
67+ [ Steven Chamberlain ]
68+ * Parse SHA256 fields in Packages files. (closes: #856210)
69+ * Parse SHA256 fields in Release files.
70+
71+ [ Bastian Blank ]
72+ * Update versions for changed symbols.
73+ - Add Breaks on cdebootstrap.
74+
75+ -- Bastian Blank <waldi@debian.org> Sun, 05 Mar 2017 11:02:27 +0000
76+
77+libdebian-installer (0.108) unstable; urgency=medium
78+
79+ [ Helmut Grohne ]
80+ * Make Build-Depends: check optional via <!nocheck> profile.
81+ Closes: #787044.
82+
83+ -- Christian Perrier <bubulle@debian.org> Tue, 30 Aug 2016 06:45:17 +0200
84+
85+libdebian-installer (0.107) unstable; urgency=medium
86+
87+ [ Steve McIntyre ]
88+ * armel/armhf: Fix missing efi include FTBFS
89+
90+ -- Christian Perrier <bubulle@debian.org> Mon, 20 Jun 2016 08:21:12 +0200
91+
92+libdebian-installer (0.106) unstable; urgency=medium
93+
94+ [ Steve McIntyre ]
95+ * armhf: Add EFI detection.
96+
97+ [ Mathieu Trudel-Lapierre ]
98+ * validate the presence of efivars *or* vars under /sys/firmware/efi to
99+ decide whether we should show the system as running in EFI mode;
100+ either of these paths is required for efibootmgr to set a BootEntry at
101+ the end of installation. Closes: #826665
102+
103+ -- Christian Perrier <bubulle@debian.org> Sun, 12 Jun 2016 09:06:30 +0200
104+
105+libdebian-installer (0.105) unstable; urgency=medium
106+
107+ [ Aurelien Jarno ]
108+ * Add mips64el support.
109+
110+ -- Aurelien Jarno <aurel32@debian.org> Sun, 22 May 2016 15:21:37 +0200
111+
112+libdebian-installer (0.104) unstable; urgency=medium
113+
114+ [ Roger Shimizu ]
115+ * armel: Add various orion5x/kirkwood based Buffalo Linkstation devices
116+ supported by device-tree
117+
118+ -- Christian Perrier <bubulle@debian.org> Wed, 17 Feb 2016 07:05:06 +0100
119+
120+libdebian-installer (0.103) unstable; urgency=medium
121+
122+ [ Colin Watson ]
123+ * Use HTTPS for Vcs-* URLs, and link to cgit rather than gitweb.
124+
125+ -- Christian Perrier <bubulle@debian.org> Sat, 13 Feb 2016 15:17:19 +0100
126+
127 libdebian-installer (0.102ubuntu3) yakkety; urgency=medium
128
129 * src/system/efi.c: fix my blunder; we still need to have ret declared as an
130
131=== modified file 'debian/control'
132--- debian/control 2015-12-24 00:41:40 +0000
133+++ debian/control 2017-05-04 17:27:22 +0000
134@@ -4,10 +4,10 @@
135 Maintainer: Ubuntu Installer Team <ubuntu-installer@lists.ubuntu.com>
136 XSBC-Original-Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
137 Uploaders: Bastian Blank <waldi@debian.org>, Colin Watson <cjwatson@debian.org>, Christian Perrier <bubulle@debian.org>, Steve McIntyre <93sam@debian.org>
138-Build-Depends: dpkg-dev (>= 1.13.5), debhelper (>= 9), dh-autoreconf, doxygen, pkg-config, check
139+Build-Depends: dpkg-dev (>= 1.13.5), debhelper (>= 9), dh-autoreconf, doxygen, pkg-config, check <!nocheck>
140 Standards-Version: 3.9.6
141-XS-Debian-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=d-i/libdebian-installer.git
142-XS-Debian-Vcs-Git: git://anonscm.debian.org/d-i/libdebian-installer.git
143+XS-Vcs-Browser: https://anonscm.debian.org/cgit/d-i/libdebian-installer.git
144+XS-Vcs-Git: https://anonscm.debian.org/git/d-i/libdebian-installer.git
145 Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/libdebian-installer/ubuntu
146
147 Package: libdebian-installer4
148@@ -15,6 +15,7 @@
149 Multi-Arch: same
150 Pre-Depends: ${misc:Pre-Depends}
151 Depends: ${shlibs:Depends}, ${misc:Depends}
152+Breaks: cdebootstrap (<< 0.7.6+)
153 Description: Library of common debian-installer functions
154 This library is used by debian-installer to perform common functions
155 such as logging messages and executing commands. If you aren't
156@@ -50,6 +51,7 @@
157 Architecture: any
158 Multi-Arch: same
159 Depends: ${shlibs:Depends}, ${misc:Depends}, libdebian-installer4 (= ${binary:Version})
160+Breaks: cdebootstrap (<< 0.7.6+)
161 Description: Library of some extra debian-installer functions
162 This library is used by debian-installer to perform common functions
163 such as logging messages and executing commands. If you aren't
164
165=== modified file 'debian/rules'
166--- debian/rules 2013-06-07 12:14:22 +0000
167+++ debian/rules 2017-05-04 17:27:22 +0000
168@@ -16,6 +16,11 @@
169
170 export CFLAGS
171
172+ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
173+override_dh_auto_configure:
174+ dh_auto_configure -- --disable-check
175+endif
176+
177 override_dh_auto_build:
178 dh_auto_build
179 $(MAKE) -C build/doc doc
180
181=== modified file 'include/debian-installer/package.h'
182--- include/debian-installer/package.h 2011-03-02 17:11:54 +0000
183+++ include/debian-installer/package.h 2017-05-04 17:27:22 +0000
184@@ -112,7 +112,7 @@
185 di_slist depends; /**< Any different dependency types */
186 char *filename; /**< Filename field */
187 size_t size; /**< Size field */
188- char *md5sum; /**< MD5Sum field */
189+ char *sha256; /**< SHA256 field */
190 char *short_description; /**< Description field, first part*/
191 char *description; /**< Description field, second part */
192 unsigned int resolver; /**< @internal */
193
194=== modified file 'include/debian-installer/package_internal.h'
195--- include/debian-installer/package_internal.h 2011-03-02 17:11:54 +0000
196+++ include/debian-installer/package_internal.h 2017-05-04 17:27:22 +0000
197@@ -52,7 +52,7 @@
198 internal_di_package_parser_field_enhances,
199 internal_di_package_parser_field_filename,
200 internal_di_package_parser_field_size,
201- internal_di_package_parser_field_md5sum,
202+ internal_di_package_parser_field_sha256,
203 internal_di_package_parser_field_description;
204
205 /**
206
207=== modified file 'include/debian-installer/release.h'
208--- include/debian-installer/release.h 2011-03-02 17:11:54 +0000
209+++ include/debian-installer/release.h 2017-05-04 17:27:22 +0000
210@@ -40,7 +40,7 @@
211 char *origin; /**< Origin field */
212 char *suite; /**< Suite field */
213 char *codename; /**< Codename field */
214- di_hash_table *md5sum; /**< checksum fields, includes di_release_file */
215+ di_hash_table *sha256; /**< checksum fields, includes di_release_file */
216 di_mem_chunk *release_file_mem_chunk; /**< @internal */
217 };
218
219@@ -55,7 +55,7 @@
220 di_rstring key; /**< @internal */
221 };
222 unsigned int size; /**< size */
223- char *sum[2]; /**< checksums, currently md5 and sha1 */
224+ char *sum[2]; /**< checksums, currently md5 and sha256 */
225 };
226
227 di_release *di_release_alloc (void);
228
229=== modified file 'src/exec.c'
230--- src/exec.c 2013-11-14 22:09:38 +0000
231+++ src/exec.c 2017-05-04 17:27:22 +0000
232@@ -159,6 +159,7 @@
233 break;
234 case 3:
235 files[1].handler = stderr_handler;
236+ /* Fall through */
237 case 1:
238 files[0].handler = stdout_handler;
239 break;
240
241=== modified file 'src/libdebian-installer-extra.ver'
242--- src/libdebian-installer-extra.ver 2004-02-01 16:38:12 +0000
243+++ src/libdebian-installer-extra.ver 2017-05-04 17:27:22 +0000
244@@ -9,12 +9,16 @@
245 di_list_prepend_chunk;
246 di_release_alloc;
247 di_release_free;
248+ local:
249+ *;
250+};
251+
252+LIBDI_4.8 {
253+ global:
254 di_release_parser_fieldinfo;
255 di_release_parser_read_file;
256 di_release_read_file;
257- local:
258- *;
259-};
260+} LIBDI_4.1;
261
262 #LIBDI_PRIVATE {
263 # global:
264
265=== modified file 'src/libdebian-installer.ver'
266--- src/libdebian-installer.ver 2010-09-13 16:44:53 +0000
267+++ src/libdebian-installer.ver 2017-05-04 17:27:22 +0000
268@@ -26,7 +26,6 @@
269 di_mem_chunk_new;
270 di_mem_chunk_size;
271 di_package_destroy;
272- di_package_parser_fieldinfo;
273 di_package_parser_info;
274 di_package_parser_read_dependency;
275 di_package_parser_read_description;
276@@ -37,7 +36,6 @@
277 di_package_parser_write_description;
278 di_package_parser_write_priority;
279 di_package_parser_write_status;
280- di_package_special_read_file;
281 di_package_version_compare;
282 di_package_version_free;
283 di_package_version_parse;
284@@ -48,18 +46,10 @@
285 di_packages_free;
286 di_packages_get_package;
287 di_packages_get_package_new;
288- di_packages_minimal_parser_fieldinfo;
289- di_packages_minimal_parser_info;
290- di_packages_parser_fieldinfo;
291- di_packages_parser_info;
292 di_packages_parser_read_name;
293 di_packages_resolve_dependencies;
294 di_packages_resolve_dependencies_array;
295 di_packages_resolve_dependencies_mark;
296- di_packages_special_read_file;
297- di_packages_special_write_file;
298- di_packages_status_parser_fieldinfo;
299- di_packages_status_parser_info;
300 di_parser_info_add;
301 di_parser_info_alloc;
302 di_parser_info_free;
303@@ -89,12 +79,8 @@
304 di_system_dpkg_package_control_file_exec;
305 di_system_init;
306 di_system_package_destroy;
307- di_system_package_parser_fieldinfo;
308- di_system_package_parser_info;
309 di_system_packages_alloc;
310 di_system_packages_allocator_alloc;
311- di_system_packages_parser_info;
312- di_system_packages_status_parser_info;
313 di_system_prebaseconfig_append;
314 di_vlog;
315 local:
316@@ -160,6 +146,24 @@
317 di_system_subarch_analyze_guess;
318 } LIBDI_4.6;
319
320+LIBDI_4.8 {
321+ global:
322+ di_package_parser_fieldinfo;
323+ di_package_special_read_file;
324+ di_packages_minimal_parser_fieldinfo;
325+ di_packages_minimal_parser_info;
326+ di_packages_parser_fieldinfo;
327+ di_packages_parser_info;
328+ di_packages_special_read_file;
329+ di_packages_special_write_file;
330+ di_packages_status_parser_fieldinfo;
331+ di_packages_status_parser_info;
332+ di_system_package_parser_fieldinfo;
333+ di_system_package_parser_info;
334+ di_system_packages_parser_info;
335+ di_system_packages_status_parser_info;
336+} LIBDI_4.7;
337+
338 #LIBDI_PRIVATE {
339 # global:
340 # internal_*;
341
342=== modified file 'src/package.c'
343--- src/package.c 2011-03-02 17:11:54 +0000
344+++ src/package.c 2017-05-04 17:27:22 +0000
345@@ -38,7 +38,7 @@
346 di_free (package->architecture);
347 di_free (package->version);
348 di_free (package->filename);
349- di_free (package->md5sum);
350+ di_free (package->sha256);
351 di_free (package->short_description);
352 di_free (package->description);
353
354
355=== modified file 'src/package_parser.c'
356--- src/package_parser.c 2011-03-02 17:11:54 +0000
357+++ src/package_parser.c 2017-05-04 17:27:22 +0000
358@@ -180,13 +180,13 @@
359 di_parser_write_int,
360 offsetof (di_package, size)
361 ),
362- internal_di_package_parser_field_md5sum =
363+ internal_di_package_parser_field_sha256 =
364 DI_PARSER_FIELDINFO
365 (
366- "MD5sum",
367+ "SHA256",
368 di_parser_read_string,
369 di_parser_write_string,
370- offsetof (di_package, md5sum)
371+ offsetof (di_package, sha256)
372 ),
373 internal_di_package_parser_field_description =
374 DI_PARSER_FIELDINFO
375@@ -217,7 +217,7 @@
376 &internal_di_package_parser_field_enhances,
377 &internal_di_package_parser_field_filename,
378 &internal_di_package_parser_field_size,
379- &internal_di_package_parser_field_md5sum,
380+ &internal_di_package_parser_field_sha256,
381 &internal_di_package_parser_field_description,
382 NULL
383 };
384
385=== modified file 'src/packages_parser.c'
386--- src/packages_parser.c 2011-03-02 17:11:54 +0000
387+++ src/packages_parser.c 2017-05-04 17:27:22 +0000
388@@ -65,7 +65,7 @@
389 &internal_di_package_parser_field_enhances,
390 &internal_di_package_parser_field_filename,
391 &internal_di_package_parser_field_size,
392- &internal_di_package_parser_field_md5sum,
393+ &internal_di_package_parser_field_sha256,
394 &internal_di_package_parser_field_description,
395 NULL
396 };
397@@ -109,7 +109,7 @@
398 &internal_di_package_parser_field_depends,
399 &internal_di_package_parser_field_pre_depends,
400 &internal_di_package_parser_field_filename,
401- &internal_di_package_parser_field_md5sum,
402+ &internal_di_package_parser_field_sha256,
403 &internal_di_package_parser_field_size,
404 NULL
405 };
406
407=== modified file 'src/release.c'
408--- src/release.c 2011-03-02 17:11:54 +0000
409+++ src/release.c 2017-05-04 17:27:22 +0000
410@@ -69,10 +69,10 @@
411 NULL,
412 0
413 ),
414- internal_di_release_parser_field_sha1 =
415+ internal_di_release_parser_field_sha256 =
416 DI_PARSER_FIELDINFO
417 (
418- "SHA1",
419+ "SHA256",
420 di_release_parser_read_file,
421 NULL,
422 1
423@@ -87,7 +87,7 @@
424 &internal_di_release_parser_field_suite,
425 &internal_di_release_parser_field_codename,
426 &internal_di_release_parser_field_md5sum,
427- &internal_di_release_parser_field_sha1,
428+ &internal_di_release_parser_field_sha256,
429 NULL
430 };
431
432@@ -110,7 +110,7 @@
433 di_release *ret;
434
435 ret = di_new0 (di_release, 1);
436- ret->md5sum = di_hash_table_new_full (di_rstring_hash, di_rstring_equal, NULL, internal_di_release_file_destroy_func);
437+ ret->sha256 = di_hash_table_new_full (di_rstring_hash, di_rstring_equal, NULL, internal_di_release_file_destroy_func);
438 ret->release_file_mem_chunk = di_mem_chunk_new (sizeof (di_release_file), 4096);
439
440 return ret;
441@@ -124,7 +124,7 @@
442 di_free (release->origin);
443 di_free (release->suite);
444 di_free (release->codename);
445- di_hash_table_destroy (release->md5sum);
446+ di_hash_table_destroy (release->sha256);
447 di_mem_chunk_destroy (release->release_file_mem_chunk);
448 di_free (release);
449 }
450@@ -169,7 +169,7 @@
451 int ret;
452 size_t buf_size;
453 di_release *release = *data;
454- di_hash_table *table = release->md5sum;
455+ di_hash_table *table = release->sha256;
456
457 while (1)
458 {
459
460=== modified file 'src/system/Makefile.am'
461--- src/system/Makefile.am 2015-12-24 00:41:40 +0000
462+++ src/system/Makefile.am 2017-05-04 17:27:22 +0000
463@@ -25,6 +25,7 @@
464 subarch-m68k-linux.c \
465 subarch-mips-linux.c \
466 subarch-mipsel-linux.c \
467+ subarch-mips64el-linux.c \
468 subarch-powerpc-linux.c \
469 subarch-ppc64-linux.c \
470 subarch-ppc64el-linux.c \
471
472=== modified file 'src/system/subarch-arm-linux.c'
473--- src/system/subarch-arm-linux.c 2015-12-24 00:41:40 +0000
474+++ src/system/subarch-arm-linux.c 2017-05-04 17:27:22 +0000
475@@ -6,6 +6,7 @@
476 #include <sys/utsname.h>
477
478 #include <debian-installer/system/subarch.h>
479+#include <debian-installer/system/efi.h>
480
481 struct map {
482 char *entry;
483@@ -64,6 +65,7 @@
484 { "LaCie 2Big Network v2", "kirkwood" },
485 { "LaCie 5Big Network v2", "kirkwood" },
486 { "Iomega Iconnect", "kirkwood" },
487+ { "NETGEAR ReadyNAS Duo v2", "kirkwood" },
488 { "Buffalo/Revogear Kurobox Pro", "orion5x" },
489 { "D-Link DNS-323", "orion5x" },
490 { "QNAP TS-109/TS-209", "orion5x" },
491@@ -71,8 +73,17 @@
492 { "HP Media Vault mv2120", "orion5x" },
493 { "Buffalo Linkstation LiveV3 (LS-CHL)", "orion5x" },
494 { "Buffalo Linkstation LS-CHLv2", "kirkwood" }, /* aka: LS-CH1.0L */
495+ { "Buffalo Linkstation LS-QVL", "kirkwood" },
496+ { "Buffalo Linkstation LS-VL", "kirkwood" },
497+ { "Buffalo Linkstation LS-WSXL", "kirkwood" },
498+ { "Buffalo Linkstation LS-WTGL", "orion5x" },
499+ { "Buffalo Linkstation LS-WVL", "kirkwood" },
500+ { "Buffalo Linkstation LS-WVL/VL", "kirkwood" },
501+ { "Buffalo Linkstation LS-WXL", "kirkwood" },
502+ { "Buffalo Linkstation LS-WXL/WSXL", "kirkwood" },
503 { "Buffalo Linkstation LS-XHL", "kirkwood" },
504 { "Buffalo Linkstation Mini", "orion5x" },
505+ { "Buffalo Linkstation Mini (LS-WSGL)", "orion5x" },
506 { "Buffalo Linkstation Pro/Live", "orion5x" },
507 { "Marvell Orion-NAS Reference Design", "orion5x" },
508 { "Marvell Orion-2 Development Board", "orion5x" },
509@@ -193,6 +204,10 @@
510 struct utsname sysinfo;
511 size_t uname_release_len, i;
512
513+ /* If we detect EFI firmware, bail out early here */
514+ if (di_system_is_efi())
515+ return "efi";
516+
517 /* Attempt to determine subarch based on kernel release version */
518 uname(&sysinfo);
519 uname_release_len = strlen(sysinfo.release);
520
521=== added symlink 'src/system/subarch-mips64el-linux.c'
522=== target is u'subarch-mips-linux.c'

Subscribers

People subscribed via source and target branches