summaryrefslogtreecommitdiff
path: root/archiso/install/archiso
blob: 3b4e223168b08e4d196cc46a3685adc116247546 (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
build ()
{
    MODULES="cdrom loop dm-snapshot"

    BINARIES=""
    FILES=""

    add_binary /lib/udev/cdrom_id
    add_binary /sbin/blockdev
    add_binary /sbin/dmsetup
    add_binary /bin/mountpoint

    add_file /lib/udev/rules.d/60-cdrom_id.rules
    add_file /lib/udev/rules.d/10-dm.rules
    add_file /lib/udev/rules.d/95-dm-notify.rules
    add_file /lib/initcpio/udev/11-dm-initramfs.rules /lib/udev/rules.d/11-dm-initramfs.rules

    # Add an empty fstab to avoid mount warning when -o remount is used (this should go to install/base)
    : > "$BUILDROOT/etc/fstab"

    SCRIPT="archiso"
}

# vim:ft=sh:ts=4:sw=4:et: