Sha256: 32bb3a1e9f37fb53d41fa0dda44cfee3ec5b2ef3e29480fcaafc7a706cd06849
Contents?: true
Size: 1.22 KB
Versions: 6
Compression:
Stored size: 1.22 KB
Contents
- install_extlinux: - check_cmd_in: extlinux - exec_in: DISTRIB_TITLE="$$kameleon_recipe_name" - exec_in: extlinux --install /boot/extlinux 2>&1 - exec_in: | MBR_PATH= PATHS=("/usr/share/syslinux/mbr.bin" "/usr/lib/bios/syslinux/mbr.bin" "/usr/lib/syslinux/bios/mbr.bin" "/usr/lib/extlinux/mbr.bin" "/usr/lib/syslinux/mbr.bin") for element in "${PATHS[@]}" do if [ -f "$element" ]; then MBR_PATH="$element" break fi done if [ "$MBR_PATH" == "" ]; then fail "unable to locate the extlinux mbr" else dd if="$MBR_PATH" of="$(__find_linux_boot_device | sed 's/[0-9]*//g')" bs=440 2>&1 fi - write_in: - /boot/extlinux/extlinux.conf - | default ${DISTRIB_TITLE^} timeout 1 label ${DISTRIB_TITLE^} kernel ../`basename /boot/vmlinuz*` initrd ../`basename /boot/init*` # the net.ifnames option is disable to get default net interface # names according to this page: # https://wiki.archlinux.org/index.php/Network_Configuration#Device_names append root=UUID=`blkid -s UUID -o value $(__find_linux_boot_device)` rw net.ifnames=0
Version data entries
6 entries across 6 versions & 1 rubygems