[archiso] Drop aitab support
Always create one filesystem of a fixed size (32G), format (ext4) and know name "airootfs". Simplify logic a lot.
This commit is contained in:
parent
9131f83404
commit
36459f3acc
9 changed files with 21 additions and 148 deletions
|
@ -2,9 +2,6 @@ INDEX
|
|||
-----
|
||||
|
||||
* Build requirements
|
||||
* Image types generated by mkarchiso.
|
||||
* File format for aitab.
|
||||
* Why the /isolinux and /arch/boot/syslinux directories?
|
||||
* Building the most basic Arch Linux live media. (configs/baseline)
|
||||
* Building official Arch Linux live media. (configs/releng)
|
||||
|
||||
|
@ -39,52 +36,10 @@ INDEX
|
|||
+ (none)
|
||||
|
||||
|
||||
*** Image types generated by mkarchiso.
|
||||
|
||||
* image-name.sfs SquashFS image with all files directly on it.
|
||||
[read-only, no dm-snapshot is used]
|
||||
* image-name.fs.sfs SquashFS with only one file inside (image-name.fs),
|
||||
which is an image of some type of filesystem
|
||||
(ext4, ext3, ext2, xfs, btrfs), all files reside on it.
|
||||
[read-write, via COW image with dm-snapshot]
|
||||
|
||||
|
||||
*** File format for aitab.
|
||||
|
||||
The aitab file holds information about the filesystems images that must be
|
||||
created by mkarchiso and mounted at initramfs stage from the archiso hook.
|
||||
It consists of some fields which define the behaviour of images.
|
||||
|
||||
# <img> <mnt> <arch> <sfs_comp> <fs_type> <fs_size>
|
||||
|
||||
<img> Image name without extension (.fs .fs.sfs .sfs).
|
||||
<mnt> Mount point.
|
||||
<arch> Architecture { i686 | x86_64 | any }.
|
||||
<sfs_comp> SquashFS compression type { gzip | lzo | xz }.
|
||||
<fs_type> Set the filesystem type of the image
|
||||
{ ext4 | ext3 | ext2 | xfs | btrfs }.
|
||||
A special value of "none" denotes no usage of a filesystem.
|
||||
In that case all files are pushed directly to SquashFS filesystem.
|
||||
<fs_size> An absolute value of file system image size in MiB.
|
||||
(example: 100, 1000, 4096, etc)
|
||||
A relative value of file system free space [in percent].
|
||||
{1%..99%} (example 50%, 10%, 7%).
|
||||
This is an estimation, and calculated in a simple way.
|
||||
Space used + 10% (estimated for metadata overhead) + desired %
|
||||
|
||||
|
||||
*** Why the /isolinux and /arch/boot/syslinux directories?
|
||||
|
||||
The /isolinux directory holds files needed for the ISOLINUX boot loader
|
||||
module of SYSLINUX. ISOLINUX can not find config files on
|
||||
/arch/boot/syslinux, like other boot loaders modules (SYSLINUX, PXELINUX).
|
||||
|
||||
|
||||
|
||||
*** Building the most basic Arch Linux live media. (configs/baseline)
|
||||
|
||||
* Install needed packages.
|
||||
# pacman -S git make arch-install-scripts squashfs-tools libisoburn rsync --needed
|
||||
# pacman -S git make arch-install-scripts squashfs-tools libisoburn --needed
|
||||
|
||||
* Install archiso.
|
||||
# git clone git://projects.archlinux.org/archiso.git
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue