lp:binfmt-support

Created by Colin Watson on 2014-02-08 and last modified on 2019-11-18
Get this branch:
bzr branch lp:binfmt-support

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
binfmt-support
Status:
Mature

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/binfmt-support.git.

The next import is scheduled to run in 2 hours.

Last successful import was 3 hours ago.

Import started 3 hours ago on alnitak and finished 3 hours ago taking 25 seconds — see the log
Import started 9 hours ago on alnitak and finished 9 hours ago taking 20 seconds — see the log
Import started 15 hours ago on izar and finished 15 hours ago taking 20 seconds — see the log
Import started 21 hours ago on alnitak and finished 21 hours ago taking 20 seconds — see the log
Import started on 2019-11-20 on alnitak and finished on 2019-11-20 taking 20 seconds — see the log
Import started on 2019-11-20 on izar and finished on 2019-11-20 taking 15 seconds — see the log
Import started on 2019-11-20 on alnitak and finished on 2019-11-20 taking 20 seconds — see the log
Import started on 2019-11-20 on izar and finished on 2019-11-20 taking 20 seconds — see the log
Import started on 2019-11-19 on alnitak and finished on 2019-11-19 taking 20 seconds — see the log
Import started on 2019-11-19 on izar and finished on 2019-11-19 taking 20 seconds — see the log

Recent revisions

236. By Helmut Grohne <email address hidden> on 2019-11-18

Fix wrongly-documented "fix_binary" format entry

The manual page says:

| The magic, offset, mask, extension, detector, credentials, preserve, and
| fix-binary options correspond to the command-line options of the same
| names.

However, the code parses "fix_binary" rather than "fix-binary". Use of
"fix-binary" is silently ignored.

Fixes Debian bug #945020.

* man/update-binfmts.man8 (FORMAT FILES): Correct spelling of
"fix_binary" option.

235. By Colin Watson on 2019-02-10

Use macros for common cases of list iteration

* src/glcontainers.h: New file.
* src/Makefile.am (COMMON): Add glcontainers.h.
* src/find.c (find_interpreters): Replace manual list iteration with
equivalent macros.
* src/run-detectors.c (main): Likewise.
* src/update-binfmts.c (act_enable, act_disable, act_display): Likewise.

234. By Colin Watson on 2019-01-24

Version: 2.2.0

233. By Colin Watson on 2019-01-24

Update to Gnulib 20190124

232. By Colin Watson on 2019-01-13

Warn about fix-binary/detectors incompatibility

"--fix-binary yes" is incompatible with detectors. Warn the user if
they try to use both at once.

Thanks to Stefan Agner; fixes Debian bug #918901.

* src/update-binfmts.c (act_enable): Warn and return if a detector is
needed and the fix-binary flag is set.
* man/update-binfmts.man8 (BINARY FORMAT SPECIFICATIONS): Document the
incompatibility.
* NEWS: Document this.

231. By Colin Watson on 2019-01-13

Avoid cleanup problems in chroots

Don't enable formats on import or disable them on unimport unless
/proc/sys/fs/binfmt_misc is already mounted.

Fixes Debian bug #847788 and Ubuntu bug #534211.

* src/update-binfmts.c (is_enabled): New function.
(load_binfmt_misc): Use is_enabled rather than equivalent code.
(act_install): Add always_update_kernel argument. Only enable/disable
if always_update_kernel or if binfmt_misc is already enabled.
(act_remove): Add always_update_kernel argument. Only disable if
always_update_kernel or if binfmt_misc is already enabled.
(act_import, act_unimport, main): Adjust calls to act_install and
act_remove.
* NEWS: Document this.

230. By Colin Watson on 2019-01-13

Add a new --unimport action

This is the inverse of --import.

* src/update-binfmts.c (act_unimport): New function.
(enum opts, options, mode_name, parse_opt, argp, main): Handle
--unimport.
* src/tests/import: Test --unimport.
* man/update-binfmts.man8 (SYNOPSIS): Add --unimport.
(COMMON OPTIONS): Mention --unimport in description of --package.
(ACTIONS): Document --unimport.
* NEWS: Document this.

229. By Colin Watson on 2019-01-05

Upgrade to Gnulib 20190105

In line with Gnulib, we now require Autoconf 2.63.

* bootstrap: Sync to Gnulib d271f868a8df9bbec29049d01e056481b7a1a263.
* bootstrap.conf (GNULIB_REVISION): Set to
d271f868a8df9bbec29049d01e056481b7a1a263.
(buildreq): Bump required autoconf version to 2.63.
* configure.ac (AM_SILENT_RULES): Remove conditional, which was there
for Automake 1.10 support.
(AC_PREREQ): Bump to 2.63.
* NEWS: Document this.

228. By Colin Watson on 2019-01-05

Add release.sh script

* release.sh: New file.
* Makefile.am (EXTRA_DIST): Add release.sh.

227. By Colin Watson on 2019-01-05

Use tar --sort=name if available

* m4/binfmt-tar-sort-name.m4: New file.
* configure.ac: Call BINFMT_TAR_SORT_NAME.
* Makefile.am (ACLOCAL_AMFLAGS): Add -I m4.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers