add an option to not strip filesystem prefix from file names

Bug #1854140 reported by Jean-Baptiste Lallement

This bug report will be marked for expiration in 54 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

The filesystem prefix of the files in the main/ directory is not preserved when an initrd is unpacked with unmkinitramfs.

If the initrd is rebuilt directly from main/ with cpio, the resulting file won't work because links are invalid.

unmkinitramfs should have an option to not strip filesystem prefixes and preserve the content of the archive..

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: initramfs-tools-core 0.133ubuntu11
ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1
Uname: Linux 5.3.0-19-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu9
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 27 09:40:24 2019
InstallationDate: Installed on 2014-07-15 (1961 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to focal on 2018-03-24 (612 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Can you give an example of your use-case and what you mean by "filesystem prefix"?

Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.