archiso 755 Bytes
Newer Older
1
#!/usr/bin/env bash
2

3
build() {
4
5
6
    add_module "cdrom"
    add_module "loop"
    add_module "dm-snapshot"
7
    add_module "overlay"
8
9

    add_runscript
10

11
    add_binary /usr/lib/udev/cdrom_id
12
13
14
15
    add_binary blockdev
    add_binary dmsetup
    add_binary losetup
    add_binary mountpoint
16
    add_binary truncate
17
    add_binary gpg
18
    add_binary grep
19

20
    add_file /usr/lib/udev/rules.d/60-cdrom_id.rules
21
22
23
    add_file /usr/lib/udev/rules.d/10-dm.rules
    add_file /usr/lib/udev/rules.d/95-dm-notify.rules
    add_file /usr/lib/initcpio/udev/11-dm-initramfs.rules /usr/lib/udev/rules.d/11-dm-initramfs.rules
24
    if [[ $ARCHISO_GNUPG_FD ]]; then
25
26
        mkdir -p "$BUILDROOT/gpg"
        gpg --homedir "$BUILDROOT/gpg" --import <& "$ARCHISO_GNUPG_FD"
27
    fi
Aaron Griffin's avatar
Aaron Griffin committed
28
}