[Bug 1208377] New: dummy-release installed in a freshly container created by mkosi
https://bugzilla.suse.com/show_bug.cgi?id=1208377 Bug ID: 1208377 Summary: dummy-release installed in a freshly container created by mkosi Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: fbui@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi, After creating a rootfs/container with mkosi with: # mkosi -d opensuse -r current -t directory -o rootfs I ended up with os-release looking weird: # cat rootfs/etc/os-release NAME=Dummy ID_LIKE="suse" Apparently it's due to the fact that dummy-release package was selected during the installation, which is not supposed to happen since this package should not be installable outside the build system. According to Dominique, this is an old bug that was fixed in Factory back in 2019 but is still present in SLE. The fix consisted in adding "Requires: this-is-only-for-build-envs" in the specfile. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208377 Dominique Leuenberger <dleuenberger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dleuenberger@suse.com Assignee|screening-team-bugs@suse.de |lubos.kocman@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208377 Franck Bui <fbui@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|dummy-release installed in |dummy-release installed in |a freshly container created |a container freshly created |by mkosi |by mkosi -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208377 https://bugzilla.suse.com/show_bug.cgi?id=1208377#c1 --- Comment #1 from Franck Bui <fbui@suse.com> --- BTW such dummy os-release file carrying very few information can confuse tools such as mkosi. Indeed this tool tries to auto detect the name and the release of the distribution it's running on by reading /etc/os-release when the release name is not specified on the command line: # mkosi -t directory -o rootfs ��� Error: Couldn't detect distribution. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com