Skip to content
Snippets Groups Projects
  1. Dec 16, 2024
    • Casey's avatar
      linux-postmarketos-qcom-sdm845: upgrade to 6.13-rc2 (MR 5902) · f261f55e
      Casey authored and Oliver Smith's avatar Oliver Smith committed
      
      Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
      
      [ci:skip-build]: already built successfully in CI
      f261f55e
    • Minecrell's avatar
      main/postmarketos-initramfs: resize btrfs after mount (MR 5844) · f9174c6d
      Minecrell authored and Oliver Smith's avatar Oliver Smith committed
      BTRFS only supports online resizing. Right now we implement that by
      temporarily mounting the file system, resizing it, and then unmounting it
      again. But most of this is redundant since we mount the rootfs at /sysroot
      immediately after.
      
      Avoid this by splitting the file system resizing in offline resize (before
      mount) and online resize (after mount) and resize BTRFS after mounting
      /sysroot. For EXT4 we can either do offline resizing or online resizing.
      Keep offline resizing for now for better compatibility with older kernels.
      F2FS does not seem to support online resizing, so we need to keep the
      functionality for offline resizing anyway.
      
      Drop the splash for now, since it would introduce flickering on each boot.
      We can restore it later if needed (ideally by adding a way to update the
      splash message without restarting pbsplash).
      f9174c6d
    • Minecrell's avatar
      main/postmarketos-initramfs: don't resize ext4 with fsck errors (MR 5844) · 8e2ce06a
      Minecrell authored and Oliver Smith's avatar Oliver Smith committed
      Right now we use the resize2fs -f (force) option, which "Forces resize2fs
      to proceed with the filesystem resize operation, overriding some safety
      checks which resize2fs normally enforces." For example, this flag instructs
      resize2fs to attempt resizing file systems with errors in some situations.
      
      We primarily care about resizing the file system on initial boot, where we
      shouldn't have any errors in the file system. For all other subsequent
      boots, we shouldn't risk the filesystem data just to resize it again.
      So let's drop the -f flag and only resize clean file systems.
      8e2ce06a
    • Minecrell's avatar
      main/postmarketos-initramfs: always resize rootfs during boot (MR 5844) · 892d5bb1
      Minecrell authored and Oliver Smith's avatar Oliver Smith committed
      At the moment, the root file system is only resized to span the entire
      partition if we previously also resized the partition itself. However, if
      a rootfs image without subpartitions is flashed to a pre-existing partition
      this means that the installation only has very limited space available
      without manual resizing.
      
      Such a setup is used for devices using the "fastboot-bootpart" flasher
      (e.g. asus-me176c), where boot and root images are flashed to two separate
      partitions and the device boots directly from the boot partition.
      
      Avoid this problem on these devices by always resizing the root file system
      on each boot. All the resize tools exit early if the file system is already
      expanded to the maximum size. It's faster to call resize2fs unconditionally
      instead of manually checking if the file system needs resizing before.
      Similar tooling like systemd-growfs also resizes unconditionally.
      892d5bb1
    • Package auto-update's avatar
      linux-next: upgrade to next-20241216 · 839037e0
      Package auto-update authored
      839037e0
  2. Dec 15, 2024
  3. Dec 14, 2024
    • Fiona Klute's avatar
      main/postmarketos-base-ui: Fix growing number of tethering unudhcpd instances (MR 5905) · 1b83a764
      Fiona Klute authored and Clayton Craft's avatar Clayton Craft committed
      /usr/lib/NetworkManager/dispatcher.d/50-tethering.sh had a typo in the
      "killall" command in the "disable_tethering" function, leading to it
      never stopping any unudhcpd process. As a new instance is started each
      time a USB cable is connected, so the number of instances kept growing
      until reboot. Fix the typo so any old unudhcpd instance is actually
      stopped before starting a new one.
      
      To illustrate the bug, a sample with an uptime of 4 days:
      
      $ ps w | grep unudhcpd
       2467 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
       5009 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
       5525 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
       6360 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
       7271 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
       9356 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      11045 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      14779 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      15696 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      17454 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      19119 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      24729 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      25565 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      25691 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      27417 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      30649 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      31690 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
      [ci:skip-build]: already built successfully in CI
      1b83a764
  4. Dec 13, 2024
  5. Dec 12, 2024
  6. Dec 11, 2024
  7. Dec 10, 2024
  8. Dec 09, 2024
  9. Dec 08, 2024
Loading