mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-23 14:52:27 +00:00
f6eed42208
prepare_thumb_drive: default to creating 10% LUKS container on usb drive, prompts for passphrase is not provided and scan drives if no --device specified NOTE: qemu usb_thumb drive of 128 mb are not big enough so that 10% of it (12mb) can be used to create thumb drive. Adds: - e2fsprogs to support ext4 filesystem creation through mke2fs - add /etc/mke2fs.conf so that mke2fs knows how to handle ext2/ext3/ext4 - removes mke2fs support from busybox - bump busybox to latest version which adds cpu accelerated hash functions (not needed per se here) - Adds exfatprogs to have mkfs.exfat and fsck.exfat - Adds prepare_thumb_drive /etc/luks-functions to be able to prepare a thumb drive with percentage of drive assigned to LUKS, rest to exfat - Modify most board configs to test space requirements failing - Talos2 linux config: add staging Exfat support - Make e2fsprogs and exfatprogs included by default unless explicitely deactivate in board configs - Change cryptsetup calls : luksOpen to open and luksClose to close to addresss review - etc/luks_functions: cleanup GOAL here is to have secure thumb drive creation which Heads will be able to use to backup/restore/use generated GPG key material in the future (next PR)
46 lines
813 B
Plaintext
46 lines
813 B
Plaintext
[defaults]
|
|
base_features = sparse_super,large_file,filetype,resize_inode,dir_index,ext_attr
|
|
default_mntopts = acl,user_xattr
|
|
enable_periodic_fsck = 0
|
|
blocksize = 4096
|
|
inode_size = 256
|
|
inode_ratio = 16384
|
|
|
|
[fs_types]
|
|
ext3 = {
|
|
features = has_journal
|
|
}
|
|
ext4 = {
|
|
features = has_journal,extent,huge_file,flex_bg,metadata_csum,metadata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file
|
|
}
|
|
small = {
|
|
blocksize = 1024
|
|
inode_ratio = 4096
|
|
}
|
|
floppy = {
|
|
blocksize = 1024
|
|
inode_ratio = 8192
|
|
}
|
|
big = {
|
|
inode_ratio = 32768
|
|
}
|
|
huge = {
|
|
inode_ratio = 65536
|
|
}
|
|
news = {
|
|
inode_ratio = 4096
|
|
}
|
|
largefile = {
|
|
inode_ratio = 1048576
|
|
blocksize = -1
|
|
}
|
|
largefile4 = {
|
|
inode_ratio = 4194304
|
|
blocksize = -1
|
|
}
|
|
hurd = {
|
|
blocksize = 4096
|
|
inode_size = 128
|
|
warn_y2038_dates = 0
|
|
}
|