Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ab53094f90 | |||
| cab43beffc | |||
| 8de80fde9d | |||
| 1503f55f5b | |||
| e97cda244e | |||
| aa68cd49fb | |||
| 71a2e1ad88 | |||
| 32c39ff7e1 | |||
| 56806ba880 | |||
| 7f62dbb3ee | |||
| 812e861152 | |||
| e601e50570 | |||
| a131b1288a | |||
| ff24710b95 | |||
| 145a7d6271 | |||
| 318469f993 | |||
| d8ae21c31b | |||
| e337afdeb7 | |||
| 591ef6b826 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -23,3 +23,5 @@
|
|||||||
/screenlog*
|
/screenlog*
|
||||||
/logs
|
/logs
|
||||||
*.swp
|
*.swp
|
||||||
|
*.lck
|
||||||
|
#src/ipxe/src/
|
||||||
|
|||||||
5
.gitmodules
vendored
Normal file
5
.gitmodules
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[submodule "src/ipxe"]
|
||||||
|
path = src/ipxe
|
||||||
|
url = git://git.ipxe.org/ipxe.git
|
||||||
|
[submodule "ipxe"]
|
||||||
|
branch = master
|
||||||
8
TODO
8
TODO
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
-include WinMTR, build Mac OS X MTR for dist/tools on CD
|
-include WinMTR, build Mac OS X MTR for dist/tools on CD
|
||||||
-include pre-compiled DoxBox for opening LUKS parts on Windows (https://github.com/t-d-k/doxbox)
|
-include pre-compiled DoxBox for opening LUKS parts on Windows (https://github.com/t-d-k/doxbox)
|
||||||
|
-include benchmarking
|
||||||
|
-- http://sourceforge.net/projects/unixbench/
|
||||||
|
-- https://code.google.com/p/byte-unixbench/
|
||||||
|
-- https://github.com/akopytov/sysbench
|
||||||
|
-- (http://blog.due.io/2014/linode-digitalocean-and-vultr-comparison/ etc.)
|
||||||
|
-write doc on required chroot packages (e.g. pv, archiso*, etc.) so those wanting to remaster know which packages to leave in
|
||||||
|
|
||||||
|
|
||||||
## NETWORKING ##
|
## NETWORKING ##
|
||||||
@@ -11,6 +17,7 @@
|
|||||||
-autodetection/configuration of network. DHCP is currently running by default, but does it need to support IPv6? if so, how would the user configure their network?
|
-autodetection/configuration of network. DHCP is currently running by default, but does it need to support IPv6? if so, how would the user configure their network?
|
||||||
-WISH: support iPXE? would save on ISO file size (letting us create MUCH bigger squash systems), but the downside is we lose EFI support and it requires a working network configuration- which defeats the purpose of a diagnostic disc.
|
-WISH: support iPXE? would save on ISO file size (letting us create MUCH bigger squash systems), but the downside is we lose EFI support and it requires a working network configuration- which defeats the purpose of a diagnostic disc.
|
||||||
-SECURE SSH: https://stribika.github.io/2015/01/04/secure-secure-shell.html
|
-SECURE SSH: https://stribika.github.io/2015/01/04/secure-secure-shell.html
|
||||||
|
-DISABLE NETWORKMANAGER AND "fi.w1.wpa_supplicant1"??? keeps spawning wpa_supplicant (and thusly killing networking proper)
|
||||||
|
|
||||||
|
|
||||||
## Building ##
|
## Building ##
|
||||||
@@ -24,6 +31,7 @@
|
|||||||
-does gummiboot? loader? wtfever it's called support splash backgrounds? can i implement that differently somehow?
|
-does gummiboot? loader? wtfever it's called support splash backgrounds? can i implement that differently somehow?
|
||||||
-Host-specific chroot customizations (i.e. -J in <chroot>/etc/makepkg.conf
|
-Host-specific chroot customizations (i.e. -J in <chroot>/etc/makepkg.conf
|
||||||
-strip out/remove unnecessary and orphan packages (e.g. gcc, make, automake, etc.)
|
-strip out/remove unnecessary and orphan packages (e.g. gcc, make, automake, etc.)
|
||||||
|
-incorporate iPXE image building for "mini-iso's/mini-img's"
|
||||||
|
|
||||||
__________________________________________________________
|
__________________________________________________________
|
||||||
FOOTNOTES:
|
FOOTNOTES:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ BASEDIR="$(pwd)"
|
|||||||
ISODIR="${BASEDIR}/iso"
|
ISODIR="${BASEDIR}/iso"
|
||||||
|
|
||||||
# Where source code is kept.
|
# Where source code is kept.
|
||||||
SRCDIR="${BASEDIR}/src"
|
SRCDIR="${BASEDIR}/extrasrc"
|
||||||
|
|
||||||
# Where we mount for chroots etc.
|
# Where we mount for chroots etc.
|
||||||
MOUNTPT="/mnt/${UXNAME}"
|
MOUNTPT="/mnt/${UXNAME}"
|
||||||
|
|||||||
3
extra/external/SMC_DumpKey/README
vendored
Normal file
3
extra/external/SMC_DumpKey/README
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
taken with graces to http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/
|
||||||
|
|
||||||
|
Needs to be compiled on linux with gcc, and only runs on genuine Apple hardware (as it polls the SMC chip for the given value)
|
||||||
193
extra/external/SMC_DumpKey/SmcDumpKey.c
vendored
Normal file
193
extra/external/SMC_DumpKey/SmcDumpKey.c
vendored
Normal file
@@ -0,0 +1,193 @@
|
|||||||
|
/*
|
||||||
|
* prints out 4-character name of the SMC key at given index position;
|
||||||
|
*
|
||||||
|
* by Gabriel L. Somlo <somlo@cmu.edu>, Summer 2014
|
||||||
|
*
|
||||||
|
* Compile with: gcc -O2 -o SmcDumpKey SmcDumpKey.c -Wall
|
||||||
|
*
|
||||||
|
* You probably want to "modprobe -r applesmc" before running this...
|
||||||
|
*
|
||||||
|
* Code bits and pieces shamelessly ripped from the linux kernel driver
|
||||||
|
* (drivers/hwmon/applesmc.c by N. Boichat and H. Rydberg)
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License v2 as published by the
|
||||||
|
* Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
|
* more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along with
|
||||||
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
||||||
|
#include <sys/io.h>
|
||||||
|
#include <linux/byteorder/little_endian.h>
|
||||||
|
|
||||||
|
|
||||||
|
#define APPLESMC_START 0x300
|
||||||
|
#define APPLESMC_RANGE 0x20
|
||||||
|
|
||||||
|
#define APPLESMC_DATA_PORT (APPLESMC_START + 0x00)
|
||||||
|
#define APPLESMC_CMD_PORT (APPLESMC_START + 0x04)
|
||||||
|
|
||||||
|
#define APPLESMC_READ_CMD 0x10
|
||||||
|
#define APPLESMC_GET_KEY_BY_INDEX_CMD 0x12
|
||||||
|
#define APPLESMC_GET_KEY_TYPE_CMD 0x13
|
||||||
|
|
||||||
|
|
||||||
|
/* wait up to 128 ms for a status change. */
|
||||||
|
#define APPLESMC_MIN_WAIT 0x0010
|
||||||
|
#define APPLESMC_RETRY_WAIT 0x0100
|
||||||
|
#define APPLESMC_MAX_WAIT 0x20000
|
||||||
|
|
||||||
|
|
||||||
|
#define APPLESMC_KEY_NAME_LEN 4
|
||||||
|
#define APPLESMC_KEY_TYPE_LEN 4
|
||||||
|
|
||||||
|
typedef struct key_type {
|
||||||
|
uint8_t data_len;
|
||||||
|
uint8_t data_type[APPLESMC_KEY_TYPE_LEN];
|
||||||
|
uint8_t flags;
|
||||||
|
} __attribute__((packed)) key_type;
|
||||||
|
|
||||||
|
|
||||||
|
/* wait_read - Wait for a byte to appear on SMC port. */
|
||||||
|
static int
|
||||||
|
wait_read(void)
|
||||||
|
{
|
||||||
|
uint8_t status;
|
||||||
|
int us;
|
||||||
|
|
||||||
|
for (us = APPLESMC_MIN_WAIT; us < APPLESMC_MAX_WAIT; us <<= 1) {
|
||||||
|
usleep(us);
|
||||||
|
status = inb(APPLESMC_CMD_PORT);
|
||||||
|
/* read: wait for smc to settle */
|
||||||
|
if (status & 0x01)
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
fprintf(stderr, "wait_read() fail: 0x%02x\n", status);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*send_byte - Write to SMC port, retrying when necessary. */
|
||||||
|
static int
|
||||||
|
send_byte(uint8_t cmd, unsigned short port)
|
||||||
|
{
|
||||||
|
uint8_t status;
|
||||||
|
int us;
|
||||||
|
|
||||||
|
outb(cmd, port);
|
||||||
|
for (us = APPLESMC_MIN_WAIT; us < APPLESMC_MAX_WAIT; us <<= 1) {
|
||||||
|
usleep(us);
|
||||||
|
status = inb(APPLESMC_CMD_PORT);
|
||||||
|
/* write: wait for smc to settle */
|
||||||
|
if (status & 0x02)
|
||||||
|
continue;
|
||||||
|
/* ready: cmd accepted, return */
|
||||||
|
if (status & 0x04)
|
||||||
|
return 0;
|
||||||
|
/* timeout: give up */
|
||||||
|
if (us << 1 == APPLESMC_MAX_WAIT)
|
||||||
|
break;
|
||||||
|
/* busy: long wait and resend */
|
||||||
|
usleep(APPLESMC_RETRY_WAIT);
|
||||||
|
outb(cmd, port);
|
||||||
|
}
|
||||||
|
|
||||||
|
fprintf(stderr,
|
||||||
|
"send_byte(0x%02x, 0x%04x) fail: 0x%02x\n", cmd, port, status);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
send_argument(const uint8_t *key)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
for (i = 0; i < APPLESMC_KEY_NAME_LEN; i++)
|
||||||
|
if (send_byte(key[i], APPLESMC_DATA_PORT))
|
||||||
|
return -1;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
read_smc(uint8_t cmd, const uint8_t *key, uint8_t *buf, uint8_t len)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
if (send_byte(cmd, APPLESMC_CMD_PORT) || send_argument(key)) {
|
||||||
|
fprintf(stderr, "%.4s: read arg fail\n", key);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (send_byte(len, APPLESMC_DATA_PORT)) {
|
||||||
|
fprintf(stderr, "%.4s: read len fail\n", key);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = 0; i < len; i++) {
|
||||||
|
if (wait_read()) {
|
||||||
|
fprintf(stderr, "%.4s: read data[%d] fail\n", key, i);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
buf[i] = inb(APPLESMC_DATA_PORT);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
key_type kt;
|
||||||
|
uint8_t data_buf[UCHAR_MAX];
|
||||||
|
uint8_t i;
|
||||||
|
|
||||||
|
if (argc != 2 || strlen(argv[1]) != APPLESMC_KEY_NAME_LEN) {
|
||||||
|
fprintf(stderr, "\nUsage: %s <4-char-key-name>\n\n", argv[0]);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ioperm(APPLESMC_START, APPLESMC_RANGE, 1) != 0) {
|
||||||
|
perror("ioperm failed");
|
||||||
|
return -2;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (read_smc(APPLESMC_GET_KEY_TYPE_CMD,
|
||||||
|
(uint8_t *)argv[1], (uint8_t *)&kt, sizeof(kt)) != 0) {
|
||||||
|
fprintf(stderr, "\nread_smc get_key_type error\n\n");
|
||||||
|
return -3;
|
||||||
|
}
|
||||||
|
printf(" type=\"");
|
||||||
|
for (i = 0; i < APPLESMC_KEY_TYPE_LEN; i++)
|
||||||
|
printf(isprint(kt.data_type[i]) ? "%c" : "\\x%02x",
|
||||||
|
(uint8_t)kt.data_type[i]);
|
||||||
|
printf("\" length=%d flags=%x\n", kt.data_len, kt.flags);
|
||||||
|
|
||||||
|
if (read_smc(APPLESMC_READ_CMD,
|
||||||
|
(uint8_t *)argv[1], data_buf, kt.data_len) != 0) {
|
||||||
|
fprintf(stderr, "\nread_smc get_key_data error\n\n");
|
||||||
|
return -4;
|
||||||
|
}
|
||||||
|
printf(" data=\"");
|
||||||
|
for (i = 0; i < kt.data_len; i++)
|
||||||
|
printf(isprint(data_buf[i]) ? "%c" : "\\x%02x",
|
||||||
|
(uint8_t)data_buf[i]);
|
||||||
|
printf("\"\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
# We need to install all X drivers.
|
# We need to install all X drivers.
|
||||||
abs
|
abs
|
||||||
acpi
|
acpi
|
||||||
acpidump
|
#acpidump
|
||||||
afflib
|
afflib
|
||||||
aircrack-ng
|
aircrack-ng
|
||||||
apr
|
apr
|
||||||
@@ -16,6 +16,7 @@ autopsy
|
|||||||
autossh
|
autossh
|
||||||
beep
|
beep
|
||||||
bin86
|
bin86
|
||||||
|
bind-tools
|
||||||
binutils
|
binutils
|
||||||
bluez-utils
|
bluez-utils
|
||||||
bonnie++
|
bonnie++
|
||||||
@@ -60,7 +61,7 @@ djohn
|
|||||||
dmidecode
|
dmidecode
|
||||||
dnssec-anchors
|
dnssec-anchors
|
||||||
dnstracer
|
dnstracer
|
||||||
dnsutils
|
#dnsutils #replaced by bind-tools, https://www.archlinux.org/packages/extra/x86_64/bind-tools/
|
||||||
dos2unix
|
dos2unix
|
||||||
dosfstools
|
dosfstools
|
||||||
dropbear
|
dropbear
|
||||||
@@ -130,6 +131,7 @@ iotop
|
|||||||
iozone
|
iozone
|
||||||
ipcalc
|
ipcalc
|
||||||
iperf
|
iperf
|
||||||
|
iperf3
|
||||||
iproute2
|
iproute2
|
||||||
ipsec-tools
|
ipsec-tools
|
||||||
iptraf-ng
|
iptraf-ng
|
||||||
@@ -234,14 +236,14 @@ psmisc
|
|||||||
pv
|
pv
|
||||||
pwgen
|
pwgen
|
||||||
pxz
|
pxz
|
||||||
pyrit
|
pyrit-svn
|
||||||
python2-gnuplot
|
python2-gnuplot
|
||||||
python2-pyx
|
python2-pyx
|
||||||
rarcrack
|
rarcrack
|
||||||
rcracki_mt
|
rcracki_mt
|
||||||
rdiff-backup
|
rdiff-backup
|
||||||
read-edid
|
read-edid
|
||||||
reaver
|
reaver-wps-fork-t6x-git
|
||||||
rename
|
rename
|
||||||
rfkill
|
rfkill
|
||||||
rp-pppoe
|
rp-pppoe
|
||||||
@@ -318,7 +320,7 @@ vpnc
|
|||||||
weplab
|
weplab
|
||||||
whdd
|
whdd
|
||||||
whois
|
whois
|
||||||
wifite
|
wifite-mod-pixiewps-git
|
||||||
wipe
|
wipe
|
||||||
wireshark-cli
|
wireshark-cli
|
||||||
wpscrack
|
wpscrack
|
||||||
|
|||||||
57
extra/pre-build.d/etc/apacman.conf
Normal file
57
extra/pre-build.d/etc/apacman.conf
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
#
|
||||||
|
# /etc/apacman.conf
|
||||||
|
#
|
||||||
|
# See the apacman.conf(5) manpage for options
|
||||||
|
|
||||||
|
#
|
||||||
|
# GENERAL OPTIONS
|
||||||
|
#
|
||||||
|
|
||||||
|
#auronly=1
|
||||||
|
#buildonly=1
|
||||||
|
#cachevcs=1
|
||||||
|
#ignorearch=1
|
||||||
|
#needed=1
|
||||||
|
noconfirm=1
|
||||||
|
noedit=1
|
||||||
|
#noaur=1
|
||||||
|
#noconfirm=1
|
||||||
|
#noedit=1
|
||||||
|
#nofail=1
|
||||||
|
#preview=1
|
||||||
|
#purgebuild=1
|
||||||
|
#quiet=1
|
||||||
|
#skipcache=1
|
||||||
|
skipinteg=1
|
||||||
|
#skiptest=1
|
||||||
|
#warn=1
|
||||||
|
tmpdir=/var/tmp/apacman
|
||||||
|
TMPDIR=/var/tmp/apacman
|
||||||
|
|
||||||
|
#
|
||||||
|
# CONFIGURATION
|
||||||
|
#
|
||||||
|
|
||||||
|
#tmpdir="/tmp/apacmantmp-$UID"
|
||||||
|
#makepkgconf="/etc/makepkg.conf"
|
||||||
|
#usermakepkgconf="$HOME/.makepkg.conf"
|
||||||
|
#pacmanconf="/etc/pacman.conf"
|
||||||
|
#downdir="/var/cache/pacman/pkg"
|
||||||
|
#savedir="/var/cache/apacman/pkg"
|
||||||
|
#editor="nano -w"
|
||||||
|
editor="vim"
|
||||||
|
#RPCURL="https://aur.archlinux.org/rpc.php?type"
|
||||||
|
#PKGURL="https://aur.archlinux.org"
|
||||||
|
#ABSURL="rsync.archlinux.org"
|
||||||
|
|
||||||
|
#
|
||||||
|
# COLORIZATION
|
||||||
|
#
|
||||||
|
|
||||||
|
COLOR1='\e[1;39m'
|
||||||
|
COLOR2='\e[1;32m'
|
||||||
|
COLOR3='\e[1;35m'
|
||||||
|
COLOR4='\e[1;36m'
|
||||||
|
COLOR5='\e[1;34m'
|
||||||
|
COLOR6='\e[1;33m'
|
||||||
|
COLOR7='\e[1;31m'
|
||||||
3
extra/pre-build.d/etc/customizepkg.d/wifite-mod-pixiewps-git
Executable file
3
extra/pre-build.d/etc/customizepkg.d/wifite-mod-pixiewps-git
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sed -i -e 's/any/x86_64/g' ${1}
|
||||||
@@ -46,7 +46,8 @@ _mnt_sfs() {
|
|||||||
|
|
||||||
if [[ "${copytoram}" == "y" ]]; then
|
if [[ "${copytoram}" == "y" ]]; then
|
||||||
msg -n ":: Copying squashfs image to RAM..."
|
msg -n ":: Copying squashfs image to RAM..."
|
||||||
if ! cp "${img}" "/run/archiso/copytoram/${img_fullname}" ; then
|
#if ! cp "${img}" "/run/archiso/copytoram/${img_fullname}" ; then
|
||||||
|
if ! pv -pterabT "${img}" > "/run/archiso/copytoram/${img_fullname}" ; then
|
||||||
echo "ERROR: while copy '${img}' to '/run/archiso/copytoram/${img_fullname}'"
|
echo "ERROR: while copy '${img}' to '/run/archiso/copytoram/${img_fullname}'"
|
||||||
launch_interactive_shell
|
launch_interactive_shell
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ build() {
|
|||||||
add_binary losetup
|
add_binary losetup
|
||||||
add_binary mountpoint
|
add_binary mountpoint
|
||||||
add_binary truncate
|
add_binary truncate
|
||||||
|
add_binary pv
|
||||||
|
|
||||||
add_file /usr/lib/udev/rules.d/60-cdrom_id.rules
|
add_file /usr/lib/udev/rules.d/60-cdrom_id.rules
|
||||||
add_file /usr/lib/udev/rules.d/10-dm.rules
|
add_file /usr/lib/udev/rules.d/10-dm.rules
|
||||||
|
|||||||
@@ -43,6 +43,11 @@ function will_it_blend () {
|
|||||||
local BUILDDIR="${BUILDDIR}${ARCHSUFFIX}"
|
local BUILDDIR="${BUILDDIR}${ARCHSUFFIX}"
|
||||||
|
|
||||||
# now let's build the squashed image... and generate some checksums as well to verify download integrity.
|
# now let's build the squashed image... and generate some checksums as well to verify download integrity.
|
||||||
|
# are we building split-arch ISOs?
|
||||||
|
if [[ "${MULTIARCH}" == "n" ]];
|
||||||
|
then
|
||||||
|
rm -rf ${ARCHBOOT}
|
||||||
|
fi
|
||||||
mkdir -p ${ARCHBOOT}/${AIROOT}
|
mkdir -p ${ARCHBOOT}/${AIROOT}
|
||||||
|
|
||||||
if [ ! -f "${ARCHBOOT}/${AIROOT}/airootfs.sfs" ] || [ "${CHROOTDIR}/root/.bash_history" -nt "${ARCHBOOT}/${AIROOT}/airootfs.sfs" ];
|
if [ ! -f "${ARCHBOOT}/${AIROOT}/airootfs.sfs" ] || [ "${CHROOTDIR}/root/.bash_history" -nt "${ARCHBOOT}/${AIROOT}/airootfs.sfs" ];
|
||||||
|
|||||||
@@ -32,16 +32,16 @@ function stuffy {
|
|||||||
# now for setting up loader config/entries. maybe add memtest or something in the future? i dunno.
|
# now for setting up loader config/entries. maybe add memtest or something in the future? i dunno.
|
||||||
cat > ${TEMPDIR}/loader/loader.conf << EOF
|
cat > ${TEMPDIR}/loader/loader.conf << EOF
|
||||||
timeout 3
|
timeout 3
|
||||||
default ${UXNAME}_ram
|
default ${UXNAME}
|
||||||
EOF
|
EOF
|
||||||
cat > ${TEMPDIR}/loader/entries/${UXNAME}_ram.conf << EOF
|
cat > ${TEMPDIR}/loader/entries/${UXNAME}_ram.conf << EOF
|
||||||
title ${PNAME}
|
title ${PNAME} (RAM)
|
||||||
linux /boot/${UXNAME}.kern
|
linux /boot/${UXNAME}.kern
|
||||||
initrd /boot/${UXNAME}.img
|
initrd /boot/${UXNAME}.img
|
||||||
options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
EOF
|
EOF
|
||||||
cat > ${TEMPDIR}/loader/entries/${UXNAME}.conf << EOF
|
cat > ${TEMPDIR}/loader/entries/${UXNAME}.conf << EOF
|
||||||
title ${PNAME} (Run from media)
|
title ${PNAME} (Media)
|
||||||
linux /boot/${UXNAME}.kern
|
linux /boot/${UXNAME}.kern
|
||||||
initrd /boot/${UXNAME}.img
|
initrd /boot/${UXNAME}.img
|
||||||
options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -59,11 +59,23 @@ EOF
|
|||||||
# create the embedded efiboot FAT stuff
|
# create the embedded efiboot FAT stuff
|
||||||
# how big should we make the disk?
|
# how big should we make the disk?
|
||||||
echo "Generating the EFI embedded FAT filesystem..."
|
echo "Generating the EFI embedded FAT filesystem..."
|
||||||
FTSIZE=$(du -sc ${TEMPDIR}/{boot,EFI,loader} | tail -n1 | awk '{print $1}')
|
# are we building split-arch ISOs?
|
||||||
FATSIZE=$((${FTSIZE} + 64)) # let's give a little wiggle room
|
if [[ "${MULTIARCH}" == "n" ]];
|
||||||
${RACECAR_CHK}truncate -s "${FATSIZE}"K ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img
|
then
|
||||||
|
rm -f ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img
|
||||||
|
fi
|
||||||
|
# now we need to calculate the space for various files we're going to include...
|
||||||
|
FATSIZE=$(stat --format="%s" ${TEMPDIR}/boot/${UXNAME}.64.kern) # EFI/BDISK/bdisk.efi
|
||||||
|
FATSIZE=$((${FATSIZE} + $(stat --format="%s" ${TEMPDIR}/boot/${UXNAME}.64.img))) # EFI/BDISK/bdisk.img
|
||||||
|
FATSIZE=$((${FATSIZE} + $(stat --format="%s" ${BASEDIR}/root.x86_64/usr/lib/prebootloader/PreLoader.efi))) # EFI/boot/bootx64.efi
|
||||||
|
FATSIZE=$((${FATSIZE} + $(stat --format="%s" ${BASEDIR}/root.x86_64/usr/lib/prebootloader/HashTool.efi))) # EFI/boot/HashTool.efi
|
||||||
|
FATSIZE=$((${FATSIZE} + $(stat --format="%s" ${BASEDIR}/root.x86_64/usr/lib/gummiboot/gummibootx64.efi))) # EFI/boot/loader.efi
|
||||||
|
FATSIZE=$((${FATSIZE} + $(stat --format="%s" ${TEMPDIR}/EFI/shellx64_v1.efi)))
|
||||||
|
FATSIZE=$((${FATSIZE} + $(stat --format="%s" ${TEMPDIR}/EFI/shellx64_v2.efi)))
|
||||||
|
FATSIZE=$((${FATSIZE} + $(du -sb ${TEMPDIR}/loader | tail -n1 | awk '{print $1}'))) # loader/* (okay so i cheated a little here.)
|
||||||
|
FATSIZE=$((${FATSIZE} + 786432)) # let's give a little wiggle room; 768k should do it. -_-
|
||||||
|
${RACECAR_CHK}truncate -s "${FATSIZE}" ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img
|
||||||
${RACECAR_CHK}mkfs.vfat -F 32 -n ${DISTNAME}_EFI ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
${RACECAR_CHK}mkfs.vfat -F 32 -n ${DISTNAME}_EFI ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||||
#${RACECAR_CHK}mkfs.vfat -F32 -s2 -n ${DISTNAME}_EFI ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
|
||||||
mkdir -p ${SRCDIR}/efiboot
|
mkdir -p ${SRCDIR}/efiboot
|
||||||
mount ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img ${SRCDIR}/efiboot
|
mount ${TEMPDIR}/EFI/${DISTNAME}/efiboot.img ${SRCDIR}/efiboot
|
||||||
mkdir -p ${SRCDIR}/efiboot/EFI/${DISTNAME}
|
mkdir -p ${SRCDIR}/efiboot/EFI/${DISTNAME}
|
||||||
@@ -73,16 +85,16 @@ EOF
|
|||||||
# GETTING DEJA VU HERE.
|
# GETTING DEJA VU HERE.
|
||||||
cat > ${SRCDIR}/efiboot/loader/loader.conf << EOF
|
cat > ${SRCDIR}/efiboot/loader/loader.conf << EOF
|
||||||
timeout 3
|
timeout 3
|
||||||
default ${UXNAME}_ram
|
default ${UXNAME}
|
||||||
EOF
|
EOF
|
||||||
cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}_ram.conf << EOF
|
cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}_ram.conf << EOF
|
||||||
title ${PNAME}
|
title ${PNAME} (RAM)
|
||||||
linux /EFI/${DISTNAME}/${UXNAME}.efi
|
linux /EFI/${DISTNAME}/${UXNAME}.efi
|
||||||
initrd /EFI/${DISTNAME}/${UXNAME}.img
|
initrd /EFI/${DISTNAME}/${UXNAME}.img
|
||||||
options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
options copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
EOF
|
EOF
|
||||||
cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}.conf << EOF
|
cat > ${SRCDIR}/efiboot/loader/entries/${UXNAME}.conf << EOF
|
||||||
title ${PNAME} (Run from media)
|
title ${PNAME} (Media)
|
||||||
linux /EFI/${DISTNAME}/${UXNAME}.efi
|
linux /EFI/${DISTNAME}/${UXNAME}.efi
|
||||||
initrd /EFI/${DISTNAME}/${UXNAME}.img
|
initrd /EFI/${DISTNAME}/${UXNAME}.img
|
||||||
options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
options archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -99,7 +111,7 @@ EOF
|
|||||||
cp ${BASEDIR}/root.x86_64/usr/lib/prebootloader/PreLoader.efi ${SRCDIR}/efiboot/EFI/boot/bootx64.efi
|
cp ${BASEDIR}/root.x86_64/usr/lib/prebootloader/PreLoader.efi ${SRCDIR}/efiboot/EFI/boot/bootx64.efi
|
||||||
cp ${BASEDIR}/root.x86_64/usr/lib/prebootloader/HashTool.efi ${SRCDIR}/efiboot/EFI/boot/.
|
cp ${BASEDIR}/root.x86_64/usr/lib/prebootloader/HashTool.efi ${SRCDIR}/efiboot/EFI/boot/.
|
||||||
cp ${BASEDIR}/root.x86_64/usr/lib/gummiboot/gummibootx64.efi ${SRCDIR}/efiboot/EFI/boot/loader.efi # TODO: can i use syslinux.efi instead?
|
cp ${BASEDIR}/root.x86_64/usr/lib/gummiboot/gummibootx64.efi ${SRCDIR}/efiboot/EFI/boot/loader.efi # TODO: can i use syslinux.efi instead?
|
||||||
cp ${TEMPDIR}/EFI/shellx64_v* ${SRCDIR}/efiboot/EFI/.
|
cp ${TEMPDIR}/EFI/shellx64_v{1,2}.efi ${SRCDIR}/efiboot/EFI/.
|
||||||
umount ${SRCDIR}/efiboot
|
umount ${SRCDIR}/efiboot
|
||||||
echo "EFI configuration complete..."
|
echo "EFI configuration complete..."
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ MENU BACKGROUND /${UXNAME}.png
|
|||||||
LABEL check
|
LABEL check
|
||||||
MENU LABEL Your best supported kernel should be detected automatically.
|
MENU LABEL Your best supported kernel should be detected automatically.
|
||||||
COM32 ifcpu64.c32
|
COM32 ifcpu64.c32
|
||||||
APPEND ${UXNAME}_ram_64 -- ${UXNAME}_ram_32
|
APPEND ${UXNAME}_64 -- ${UXNAME}_32
|
||||||
MENU DEFAULT
|
MENU DEFAULT
|
||||||
|
|
||||||
|
|
||||||
@@ -84,10 +84,10 @@ MENU SEPARATOR
|
|||||||
## 64 BIT
|
## 64 BIT
|
||||||
MENU BEGIN 64BIT
|
MENU BEGIN 64BIT
|
||||||
MENU LABEL ^1) 64-Bit ...
|
MENU LABEL ^1) 64-Bit ...
|
||||||
ONTIMEOUT ${UXNAME}_ram_64
|
ONTIMEOUT ${UXNAME}_64
|
||||||
|
|
||||||
LABEL ${UXNAME}_ram_64
|
LABEL ${UXNAME}_ram_64
|
||||||
MENU LABEL ^1) ${PNAME} (run from RAM) (Default)
|
MENU LABEL ^1) ${PNAME} (run from RAM)
|
||||||
LINUX /boot/${UXNAME}.64.kern
|
LINUX /boot/${UXNAME}.64.kern
|
||||||
INITRD /boot/${UXNAME}.64.img
|
INITRD /boot/${UXNAME}.64.img
|
||||||
APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -97,7 +97,7 @@ LABEL ${UXNAME}_ram_64
|
|||||||
MENU DEFAULT
|
MENU DEFAULT
|
||||||
|
|
||||||
LABEL ${UXNAME}_64
|
LABEL ${UXNAME}_64
|
||||||
MENU LABEL ^1) ${PNAME}
|
MENU LABEL ^1) ${PNAME} (Default)
|
||||||
LINUX /boot/${UXNAME}.64.kern
|
LINUX /boot/${UXNAME}.64.kern
|
||||||
INITRD /boot/${UXNAME}.64.img
|
INITRD /boot/${UXNAME}.64.img
|
||||||
APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -110,11 +110,11 @@ MENU END
|
|||||||
|
|
||||||
MENU BEGIN 32BIT
|
MENU BEGIN 32BIT
|
||||||
MENU LABEL ^2) 32-Bit ...
|
MENU LABEL ^2) 32-Bit ...
|
||||||
ONTIMEOUT ${UXNAME}_ram_32
|
ONTIMEOUT ${UXNAME}_32
|
||||||
|
|
||||||
## 32 BIT
|
## 32 BIT
|
||||||
LABEL ${UXNAME}_ram_32
|
LABEL ${UXNAME}_ram_32
|
||||||
MENU LABEL ^1) ${PNAME} (run from RAM) (Default)
|
MENU LABEL ^1) ${PNAME} (run from RAM)
|
||||||
LINUX /boot/${UXNAME}.32.kern
|
LINUX /boot/${UXNAME}.32.kern
|
||||||
INITRD /boot/${UXNAME}.32.img
|
INITRD /boot/${UXNAME}.32.img
|
||||||
APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -124,7 +124,7 @@ LABEL ${UXNAME}_ram_32
|
|||||||
MENU DEFAULT
|
MENU DEFAULT
|
||||||
|
|
||||||
LABEL ${UXNAME}_32
|
LABEL ${UXNAME}_32
|
||||||
MENU LABEL ^2) ${PNAME}
|
MENU LABEL ^2) ${PNAME} (Default)
|
||||||
LINUX /boot/${UXNAME}.32.kern
|
LINUX /boot/${UXNAME}.32.kern
|
||||||
INITRD /boot/${UXNAME}.32.img
|
INITRD /boot/${UXNAME}.32.img
|
||||||
APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -188,10 +188,10 @@ MENU SEPARATOR
|
|||||||
|
|
||||||
MENU BEGIN ${ARCH}BIT
|
MENU BEGIN ${ARCH}BIT
|
||||||
MENU LABEL ^1) ${ARCH}-Bit ...
|
MENU LABEL ^1) ${ARCH}-Bit ...
|
||||||
ONTIMEOUT ${UXNAME}_ram_${ARCH}
|
ONTIMEOUT ${UXNAME}_${ARCH}
|
||||||
|
|
||||||
LABEL ${UXNAME}_ram_${ARCH}
|
LABEL ${UXNAME}_ram_${ARCH}
|
||||||
MENU LABEL ^1) ${PNAME} (run from RAM) (Default)
|
MENU LABEL ^1) ${PNAME} (run from RAM)
|
||||||
LINUX /boot/${UXNAME}.${ARCH}.kern
|
LINUX /boot/${UXNAME}.${ARCH}.kern
|
||||||
INITRD /boot/${UXNAME}.${ARCH}.img
|
INITRD /boot/${UXNAME}.${ARCH}.img
|
||||||
APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
APPEND copytoram archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
@@ -201,7 +201,7 @@ LABEL ${UXNAME}_ram_${ARCH}
|
|||||||
MENU DEFAULT
|
MENU DEFAULT
|
||||||
|
|
||||||
LABEL ${UXNAME}_${ARCH}
|
LABEL ${UXNAME}_${ARCH}
|
||||||
MENU LABEL ^1) ${PNAME}
|
MENU LABEL ^1) ${PNAME} (Default)
|
||||||
LINUX /boot/${UXNAME}.${ARCH}.kern
|
LINUX /boot/${UXNAME}.${ARCH}.kern
|
||||||
INITRD /boot/${UXNAME}.${ARCH}.img
|
INITRD /boot/${UXNAME}.${ARCH}.img
|
||||||
APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
APPEND archisobasedir=${DISTNAME} archisolabel=${DISTNAME}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ function mentos {
|
|||||||
local NEWKERN=$(curl -s "${MIRROR}" | grep linux | awk '{print $3}' | cut -f2 -d\" | egrep '^linux-[0-9].*pkg.tar.xz$' | cut -f2 -d"-")
|
local NEWKERN=$(curl -s "${MIRROR}" | grep linux | awk '{print $3}' | cut -f2 -d\" | egrep '^linux-[0-9].*pkg.tar.xz$' | cut -f2 -d"-")
|
||||||
|
|
||||||
for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
||||||
${CHROOTCMD} ${i}/ bash -c "${RACECAR_CHK}apacman --noconfirm --noedit --skipinteg -S --needed --ignore linux ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
${CHROOTCMD} ${i}/ bash -c "${RACECAR_CHK}apacman --noconfirm --noedit --skipinteg -S --needed --purgebuild --ignore linux ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||||
for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
||||||
${CHROOTCMD} ${i}/ /usr/bin/bash -c "mkinitcpio -p linux" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
${CHROOTCMD} ${i}/ /usr/bin/bash -c "mkinitcpio -p linux" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||||
#${CHROOTCMD} ${i}/ bash -c "apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}"
|
#${CHROOTCMD} ${i}/ bash -c "apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}"
|
||||||
@@ -53,7 +53,7 @@ function mentos {
|
|||||||
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.32 | tr '\n' ' ')
|
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.32 | tr '\n' ' ')
|
||||||
if [ -n "${PKGLIST}" ];
|
if [ -n "${PKGLIST}" ];
|
||||||
then
|
then
|
||||||
${CHROOTCMD} ${CHROOTDIR32}/ bash -c "yes '' | ${RACECAR_CHK}apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
${CHROOTCMD} ${CHROOTDIR32}/ bash -c "yes '' | ${RACECAR_CHK}apacman --noconfirm --noedit --skipinteg -S --needed --purgebuild ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||||
fi
|
fi
|
||||||
for x in $(find ${CHROOTDIR32}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
for x in $(find ${CHROOTDIR32}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ function mentos {
|
|||||||
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.64 | tr '\n' ' ')
|
PKGLIST=$(sed -e '/^[[:space:]]*#/d ; /^[[:space:]]*$/d' ${BASEDIR}/extra/packages.64 | tr '\n' ' ')
|
||||||
if [ -n "${PKGLIST}" ];
|
if [ -n "${PKGLIST}" ];
|
||||||
then
|
then
|
||||||
${CHROOTCMD} ${CHROOTDIR64}/ bash -c "yes '' | ${RACECAR_CHK}apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
${CHROOTCMD} ${CHROOTDIR64}/ bash -c "yes '' | ${RACECAR_CHK}apacman --noconfirm --noedit --skipinteg -S --needed --purgebuild ${PKGLIST}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||||
fi
|
fi
|
||||||
for x in $(find ${CHROOTDIR64}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
for x in $(find ${CHROOTDIR64}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%.pacorig} ; done
|
||||||
#${CHROOTCMD} ${CHROOTDIR64}/ bash -c "apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}"
|
#${CHROOTCMD} ${CHROOTDIR64}/ bash -c "apacman --noconfirm --noedit --skipinteg -S --needed ${PKGLIST}"
|
||||||
|
|||||||
@@ -94,10 +94,10 @@ function mkchroot {
|
|||||||
echo "Local: ${LOCSUM64}"
|
echo "Local: ${LOCSUM64}"
|
||||||
echo "Remote: ${CKSUM64}"
|
echo "Remote: ${CKSUM64}"
|
||||||
echo "Fetching fresh copy."
|
echo "Fetching fresh copy."
|
||||||
curl -o latest.64.tar.gz "${RLSDIR}/${CURRLS64}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
curl -o latest.64.tar.gz "${RLSDIR}/${CURRLS64}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
curl -o latest.64.tar.gz "${RLSDIR}/${CURRLS64}" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
curl -o latest.64.tar.gz "${RLSDIR}/${CURRLS64}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "latest.32.tar.gz" ];
|
if [ -f "latest.32.tar.gz" ];
|
||||||
@@ -154,6 +154,12 @@ EOF
|
|||||||
|
|
||||||
for i in ${CHROOTDIR32} ${CHROOTDIR64};
|
for i in ${CHROOTDIR32} ${CHROOTDIR64};
|
||||||
do
|
do
|
||||||
|
# Disable NetworkManager. Fuck that shit.
|
||||||
|
ln -s /dev/null ${i}/etc/systemd/system/NetworkManager.service
|
||||||
|
ln -s /dev/null ${i}/etc/systemd/system/NetworkManager-dispatcher.service
|
||||||
|
# Remove the machine-id file so it's automatically generated.
|
||||||
|
# NOTE: this kind of fucks things up presently.
|
||||||
|
#rm -f ${i}/etc/machine-id
|
||||||
# Prep pacman
|
# Prep pacman
|
||||||
echo "Prepping ${i}. This will take a while..."
|
echo "Prepping ${i}. This will take a while..."
|
||||||
echo -n "...Key initializing..."
|
echo -n "...Key initializing..."
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ do
|
|||||||
sed -i -re "s/^([[:space:]]*ESSID[[:space:]]*=).*/\1${ESSID}/g" /etc/netctl/${i}
|
sed -i -re "s/^([[:space:]]*ESSID[[:space:]]*=).*/\1${ESSID}/g" /etc/netctl/${i}
|
||||||
ifconfig ${i} down
|
ifconfig ${i} down
|
||||||
fi
|
fi
|
||||||
netctl start ${i} > /dev/null 2>&1
|
netctl restart ${i} > /dev/null 2>&1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
src/ipxe
Submodule
1
src/ipxe
Submodule
Submodule src/ipxe added at d73982f098
14
src/ipxe-efi
Normal file
14
src/ipxe-efi
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
http://ipxe.org/download#efi
|
||||||
|
|
||||||
|
"
|
||||||
|
|
||||||
|
iPXE supports the EFI and UEFI environments, as well as the standard PC BIOS. You can build an EFI driver ROM using the .efirom image format. For example:
|
||||||
|
|
||||||
|
make bin-i386-efi/808610de.efirom # 32-bit driver ROM
|
||||||
|
make bin-x86_64-efi/808610de.efirom # 64-bit driver ROM
|
||||||
|
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
http://ipxe.org/efi/vision
|
||||||
Reference in New Issue
Block a user