summaryrefslogtreecommitdiff
path: root/docs/README.build
blob: a85dbdef189283a70679ffe381365fda0dddbc90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
INDEX
-----

* Build requirements
* Building the most basic Parabola GNU/Linux-libre live media. (configs/baseline)
* Building official Parabola GNU/Linux-libre live media. (configs/releng)



*** Build requirements

** For mkparabolaiso script needs these packages (build host):
 + arch-install-scripts    for pacstrap/arch-chroot
 + squashfs-tools          for mksquashfs
 + libisoburn              for xorriso
 + btrfs-progs             for mkfs.btrfs (optional)

** For configs/releng build.sh needs theses packages (build host):
 + dosfstools              for mkfs.fat
 + lynx                    for fetching the latest installation guide

** For these hooks needs these packages (on target airootfs)
* parabolaiso
 + (none)
* parabolaiso_loop_mnt
 + (none)
* parabolaiso_pxe_common
 + mkinitcpio-nfs-utils    for ipconfig
* parabolaiso_pxe_nbd
 + nbd                     for nbd-client
* parabolaiso_pxe_http
 + curl                    for curl
* parabolaiso_pxe_nfs
 + mkinitcpio-nfs-utils    for nfsmount
* parabolaiso_shutdown
 + (none)


*** Building the most basic Parabola GNU/Linux-libre live media. (configs/baseline)

* Install needed packages.
  # pacman -S git make arch-install-scripts squashfs-tools libisoburn --needed

* Install parabolaiso.
  # git clone git://git.parabola.nu/packages/parabolaiso.git
  # make -C parabolaiso install

* Build a basic iso.
  # /usr/share/parabolaiso/configs/baseline/build.sh

Note: If you want to customize, just see the configs/releng directory which is
used to build official images with much more things.


*** Building official Parabola GNU/Linux-libre live media. (configs/releng)

* Install needed packages.
  # pacman -S git make arch-install-scripts squashfs-tools libisoburn dosfstools lynx --needed

* Install parabolaiso.
  # git clone git://git.parabola.nu/packages/parabolaiso.git
  # make -C parabolaiso install

* Build them!
  # /usr/share/parabolaiso/configs/releng/build.sh

Note: See build.sh -h for more options. This only runs on x86_64.