getsolus / getsolus/packages

Support installations with swap files

Open
#3,943 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority: Normal Topic: Installation
Dominant language
Python
Stars
141
Forks
146
Avg merge
11h 7m
Merged PRs (30d)
407

Description

Please confirm there isn't an existing open bug report
  • I have searched open bugs for this issue
Summary

On modern systems, it may be desirable to use a swap file instead of a separate swap partition. There are a few benefits of this:

  1. A swap file can be placed on any mounted file system
  2. A swap file can be set to any desired size
  3. Swap files are more space efficient

Users on older hardware may still have a better experience with a separate swap partition, so support for both should be kept, assuming we decide to support files. The Calamares installer can automatically create a swap file during installation if enabled for the swap dropdown menu, and it seems to Just Work ™️ in a VM using BTRFS. Of course, that's only one possible configuration. It would also have the downside of increasing our release testing matrix.

Steps to reproduce

n/a

Expected result

n/a

Actual result

n/a

Environment
  • Is system up to date?
Repo

Unstable

Desktop Environment

Budgie

System details

n/a

Other comments

This is the closest template we have for a feature request.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. First locate the installation and swap-selection code, then clarify the supported swap-file configurations and testing scope; done means installations can offer swap files while retaining swap-partition support.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.