package SFX stubs for other platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
p7zip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When creating a self-extracting archive, a suitable executable stub is prepended to the archive proper. This stub is obviously platform-dependent. The default 7zCon.sfx (this package ships it in /usr/lib/p7zip) always matches the platform of the system p7zip is running on, i.e. the -sfx switch will create self-extracting archives for the same kind of system by default, which is reasonable.
However, the -sfx switch allows appending the name (interpreted relative to /usr/lib/p7zip) or the full path to the file that should be used for the stub, so one can easily create cross-platform self-extracting archives, too.
The only problem is, p7zip-full doesn't ship any alternative stubs. One has to download a version of 7-Zip for the target platform, extract the 7zCon.sfx file, and put it in /usr/lib/p7zip under a suitable name manually.
It'd be really nice if the p7zip-full package came with a selection of these as standard. And I believe this is something that could be done at the packaging level.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: p7zip-full 16.02+dfsg-8
ProcVersionSign
Uname: Linux 6.2.0-1014-
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 14 01:21:49 2023
InstallationDate: Installed on 2023-08-02 (72 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
SourcePackage: p7zip
UpgradeStatus: No upgrade log present (probably fresh install)