summaryrefslogtreecommitdiff
path: root/archiso/install/archiso
blob: db0fc3ace80468164f1bef4eff93a1d9cff8a3e2 (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 /sbin/blockdev
    add_binary /sbin/dmsetup
    add_binary /sbin/losetup
    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: