Closed Bug 1998420 Opened 7 months ago Closed 6 months ago

Add a distribution.ini file to the in-tree RPM package

Categories

(Release Engineering :: General, enhancement)

enhancement

Tracking

(firefox147 fixed)

RESOLVED FIXED
Tracking Status
firefox147 --- fixed

People

(Reporter: eijebong, Assigned: eijebong)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We probably want the distribution ID to be set for the same reasons as for the deb package. And we definitely want intl.locale.requested="" so that langpacks work seamlessly.

Assignee: nobody → borivel
Status: NEW → ASSIGNED

The distribution.ini comes from https://github.com/mozilla-partners/rpm
which matches what was done for debian files. This is required mostly to
be able to set intl.locale.requested="" which finally allows langpacks
to work seamlessly when installed but also to get the distribution id
correct (see bug 1811104 for the debian equivalent to that).

I reused inject_distribution_folder, I just changed the source_type
to match the repo name for debian and reused that for rpm, injecting the
files into rpm_dir (which matches what's done for langpacks and
desktop entry files) to be able to install it directly from the %prep
section without extra copies.

That function is only used twice throughout the repo and I doubt that
anyone calling it with a source type that isn't an existing repo in
mozilla-partners would expect to get a deb one by default.

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
See Also: → 1999494
Blocks: 1999494
See Also: 1999494
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: