Install script needs to be support multiarch introduced in Natty

Bug #727411 reported by Marc Tardif on 2011-03-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Marc Tardif

Bug Description

Checkbox comes with an install script to populate the ini files under /etc/checkbox.d from values which might be available in the debconf database. In order to determine which keys correspond to the checkbox package being intalled, the script looks at the templates file that used to be under the path /var/lib/dpkg/info/$pkg.templates. However, with recent multiarch support, the path is now /var/lib/dpkg/info/i386/$pkg.templates.

Since the checkbox packages are mostly arhitecture: all, it would be safe for most intents and purposes to interpolate the architecture of the host with dpkg --print-architecture. However, there have been discussions of reverting multiarch support which would require yet another update. Instead, it would be preferable to use dpkg-query --control-path $pkg templates which would work under all circumstances.

Related branches

Marc Tardif (cr3) on 2011-03-01
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
status: New → In Progress
Marc Tardif (cr3) on 2011-03-01
Changed in checkbox:
status: In Progress → Fix Committed
tags: added: multiarch
Marc Tardif (cr3) on 2011-06-23
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers