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

    BINARIES=""
    FILES=""

    add_binary /lib/udev/cdrom_id
    add_binary blockdev
    add_binary dmsetup
    add_binary losetup
    add_binary 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: