Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added xfs support, parameter mount_options #60

Open
wants to merge 2 commits into
base: debian9
Choose a base branch
from

Conversation

dsvetl
Copy link

@dsvetl dsvetl commented Feb 19, 2018

Hello,

I added two small feature:

  • Added support for xfs filesystem.
  • Added options for pass mount options (e.g. compress=zstd).

I am using Shell Parameter Expansion to resolve problem in #59.

${parameter:+word}
If parameter is null or unset, nothing is substituted,
otherwise the expansion of word is substituted.

@gh2o
Copy link
Owner

gh2o commented Apr 29, 2018

Looks good. Can you update components/base-install.sh, then re-run tools/build_self_contained_install.sh to rebuild install.sh? Thanks!

@@ -110,6 +113,7 @@ flag_variables=(
target_disklabel
target_filesystem
mkfs_options
mount_options
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intendation seems different here

@@ -54,7 +57,7 @@ This script supports several flags, all of which are optional.
as used by EFI). The alternative is `dos` (traditional MBR).
* `--target_filesystem`
The filesystem on which the Arch Linux installation should be installed.
Defaults to `ext4`. The alternative is `btrfs`.
Defaults to `ext4`. The alternative is `btrfs` and `xfs`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btrfs or xfs? And I think "The alternative" isn't suitable for multiple 'alternatives'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants