mirror of
https://github.com/kairos-io/immucore.git
synced 2025-05-12 01:59:32 +00:00
Fix tmpfs fstab entry
Signed-off-by: Itxaka <itxaka@spectrocloud.com>
This commit is contained in:
parent
61e6607285
commit
d0816bb7e3
@ -10,5 +10,4 @@ Conflicts=initrd-switch-root.target
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=journal+console
|
||||
ExecStartPre=-/usr/bin/systemctl stop oem.mount
|
||||
ExecStart=/usr/bin/immucore start
|
@ -32,7 +32,7 @@ func baseOverlay(overlay Overlay) (mountOperation, error) {
|
||||
// TODO: Fix this
|
||||
// Currently stores it wrongly the the fstab as `tmpfs tmpfs:20% tmpfs size=20% 0 0`
|
||||
// Correct format should be `tmpfs /run/overlay tmpfs defaults,size=20% 0 0`
|
||||
tmpFstab.File = internalUtils.CleanSysrootForFstab(overlay.BackingBase)
|
||||
tmpFstab.File = internalUtils.CleanSysrootForFstab(overlay.Base)
|
||||
return mountOperation{
|
||||
MountOption: tmpMount,
|
||||
FstabEntry: *tmpFstab,
|
||||
@ -44,7 +44,7 @@ func baseOverlay(overlay Overlay) (mountOperation, error) {
|
||||
|
||||
tmpFstab := internalUtils.MountToFstab(blockMount)
|
||||
// TODO: Check if this is properly written to fstab, currently have no examples
|
||||
tmpFstab.File = internalUtils.CleanSysrootForFstab(overlay.BackingBase)
|
||||
tmpFstab.File = internalUtils.CleanSysrootForFstab(overlay.Base)
|
||||
tmpFstab.MntOps["default"] = ""
|
||||
|
||||
return mountOperation{
|
||||
|
Loading…
Reference in New Issue
Block a user