Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
ignition
0002-allow-multiple-mounts-of-same-device.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-allow-multiple-mounts-of-same-device.patch of Package ignition
From: Ignaz Forster <iforster@suse.com> Date: Wed Jan 14 17:57:52 2020 +0100 Upstream: Ticket opened [gh#coreos/ignition#890] Implement poor man's solution for mounting a device multiple times, e.g. to mount several subvolumes from a Btrfs device or bind mounting the device to multiple places, by also adding the path to the key. Index: ignition-2.20.0/config/v3_1/types/filesystem.go =================================================================== --- ignition-2.20.0.orig/config/v3_1/types/filesystem.go +++ ignition-2.20.0/config/v3_1/types/filesystem.go @@ -23,6 +23,9 @@ import ( ) func (f Filesystem) Key() string { + if (f.Path != nil) { + return f.Device + *f.Path + } return f.Device } Index: ignition-2.20.0/config/v3_2/types/filesystem.go =================================================================== --- ignition-2.20.0.orig/config/v3_2/types/filesystem.go +++ ignition-2.20.0/config/v3_2/types/filesystem.go @@ -23,6 +23,9 @@ import ( ) func (f Filesystem) Key() string { + if (f.Path != nil) { + return f.Device + *f.Path + } return f.Device } Index: ignition-2.20.0/config/v3_3/types/filesystem.go =================================================================== --- ignition-2.20.0.orig/config/v3_3/types/filesystem.go +++ ignition-2.20.0/config/v3_3/types/filesystem.go @@ -23,6 +23,9 @@ import ( ) func (f Filesystem) Key() string { + if (f.Path != nil) { + return f.Device + *f.Path + } return f.Device } Index: ignition-2.20.0/config/v3_4/types/filesystem.go =================================================================== --- ignition-2.20.0.orig/config/v3_4/types/filesystem.go +++ ignition-2.20.0/config/v3_4/types/filesystem.go @@ -23,6 +23,9 @@ import ( ) func (f Filesystem) Key() string { + if (f.Path != nil) { + return f.Device + *f.Path + } return f.Device } Index: ignition-2.20.0/config/v3_5/types/filesystem.go =================================================================== --- ignition-2.20.0.orig/config/v3_5/types/filesystem.go +++ ignition-2.20.0/config/v3_5/types/filesystem.go @@ -23,6 +23,9 @@ import ( ) func (f Filesystem) Key() string { + if (f.Path != nil) { + return f.Device + *f.Path + } return f.Device } Index: ignition-2.20.0/config/v3_6_experimental/types/filesystem.go =================================================================== --- ignition-2.20.0.orig/config/v3_6_experimental/types/filesystem.go +++ ignition-2.20.0/config/v3_6_experimental/types/filesystem.go @@ -23,6 +23,9 @@ import ( ) func (f Filesystem) Key() string { + if (f.Path != nil) { + return f.Device + *f.Path + } return f.Device }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor