Skip to content
Snippets Groups Projects

Fixes related to /etc/fstab and mounting /boot in the initramfs

Merged Imported Administrator requested to merge pabloyoyoista/boot-fstab-fixes into master
All threads resolved!

pmaports side of https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2304

After quite some back and forth (including closing !5083 (closed)), came to the conclusion that what we want is:

  • To mount /boot in the initramfs, and not in the rootfs, as we don't want to read /etc/fstab, and OpenRC localmount will not mount vfat or ext2 filesystems not all installations have proper /etc/fstab. See #2800
  • To add as many sensible options as possible, identical to !5083 (closed). Unfortunately the previous point makes the duplication necessary
  • We want to fix fstab when possible, to make things consistent
Edited by Administrator

Merge request reports

Checking pipeline status.

Approved by

Merged by AdministratorAdministrator 11 months ago (May 16, 2024 10:06am UTC)

Merge details

  • Changes merged into master with 3909b1db.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator
  • Administrator added 4 commits · Imported

    added 4 commits

    • 0be04df4 - main/postmarketos-initramfs: add some sane mount options to /boot
    • 085fc908 - main/postmarketos-initramfs: add options for charset to mount vfat /boot
    • dd88dd54 - main/postmarketos-initramfs: update comment on why we mount /boot
    • bec5da6f - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs

    Compare with previous version

    By Pablo Correa Gomez on 2024-05-03T17:08:46

  • Administrator added 1 commit · Imported

    added 1 commit

    • 1f4426f6 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs

    Compare with previous version

    By Pablo Correa Gomez on 2024-05-03T17:11:47

  • Administrator added 21 commits · Imported

    added 21 commits

    • 1f4426f6...02aad8d3 - 17 commits from branch master
    • 80dd5c6d - main/postmarketos-initramfs: add some sane mount options to /boot
    • dcf75bfc - main/postmarketos-initramfs: add options for charset to mount vfat /boot
    • 077a673d - main/postmarketos-initramfs: update comment on why we mount /boot
    • cc52e0c1 - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs

    Compare with previous version

    By Pablo Correa Gomez on 2024-05-06T15:52:49

  • Administrator changed the description · Imported

    changed the description

    By Pablo Correa Gomez on 2024-05-06T15:53:43

  • Administrator resolved all threads · Imported

    resolved all threads

    By Pablo Correa Gomez on 2024-05-06T15:55:21

  • Administrator
  • Administrator approved this merge request · Imported

    approved this merge request

    By jenneron on 2024-05-06T18:46:34

  • Administrator resolved all threads · Imported

    resolved all threads

    By jenneron on 2024-05-06T18:46:39

  • Administrator resolved all threads · Imported

    resolved all threads

    By clayton craft on 2024-05-09T18:15:23

  • Administrator approved this merge request · Imported

    approved this merge request

    By clayton craft on 2024-05-09T18:15:25

  • Administrator
  • Administrator added 47 commits · Imported

    added 47 commits

    • cc52e0c1...1be51a14 - 43 commits from branch master
    • 4216fc14 - main/postmarketos-initramfs: add some sane mount options to /boot
    • 5eed5e37 - main/postmarketos-initramfs: add options for charset to mount vfat /boot
    • 6b26cbff - main/postmarketos-initramfs: update comment on why we mount /boot
    • 1c2cb3ae - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs

    Compare with previous version

    By Pablo Correa Gomez on 2024-05-16T10:01:12

  • Administrator resolved all threads · Imported

    resolved all threads

    By Pablo Correa Gomez on 2024-05-16T10:01:15

  • Administrator added 10 commits · Imported

    added 10 commits

    • 1c2cb3ae...2db5ff27 - 6 commits from branch master
    • efc7ad99 - main/postmarketos-initramfs: add some sane mount options to /boot (MR 5089)
    • bb6d7a05 - main/postmarketos-initramfs: add options for charset to mount vfat /boot (MR 5089)
    • 28e58a9c - main/postmarketos-initramfs: update comment on why we mount /boot (MR 5089)
    • 3909b1db - main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs (MR 5089)

    Compare with previous version

    By Pablo Correa Gomez on 2024-05-16T10:03:22

  • Administrator enabled an automatic merge when the pipeline for 3909b1db succeeds · Imported

    enabled an automatic merge when the pipeline for 3909b1db succeeds

    By Pablo Correa Gomez on 2024-05-16T10:03:29

  • Author Owner

    Thanks everybody for the reviews! Merging give then 3 approvals :smile:

    By Pablo Correa Gomez on 2024-05-16T10:04:01

  • Administrator merged · Imported

    merged

  • Administrator mentioned in issue #2874 (closed) · Imported

    mentioned in issue #2874 (closed)

    By Andreas Kemnade on 2024-06-07T10:09:05

  • Please register or sign in to reply
    Loading