Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 67aba34ed1 | |||
| b4d619f2f9 | |||
| 3d5e724bd5 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -24,7 +24,7 @@
|
||||
/logs
|
||||
*.swp
|
||||
*.lck
|
||||
#src/ipxe/src/
|
||||
/extrasrc
|
||||
|
||||
# You should really generate local copies of these, as they're pretty private.
|
||||
extra/pre-build.d/etc/openvpn/client.conf
|
||||
|
||||
6
TODO
6
TODO
@@ -15,6 +15,9 @@
|
||||
-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?
|
||||
-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)
|
||||
-for netboot, custom user agent (should be defined by build.conf)
|
||||
--iPXE's curl
|
||||
--initrd's curl
|
||||
|
||||
|
||||
## Building ##
|
||||
@@ -31,8 +34,7 @@
|
||||
--http://ipxe.org/crypto
|
||||
--http://ipxe.org/cmd/imgtrust
|
||||
--http://ipxe.org/cmd/imgverify
|
||||
--https://aur.archlinux.org/packages/ip/ipxe-git/PKGBUILD (NOTE the patches- banner and efi iso specifically)
|
||||
--add conf option to specify EMBED uri
|
||||
--enable use of custom CA/self-signed certs for HTTPS etc.
|
||||
-X-platform
|
||||
--what distros are supported?
|
||||
--automatically install what we need for buildtime
|
||||
|
||||
@@ -61,7 +61,17 @@ MULTIARCH="yes"
|
||||
# set this to "yes". Otherwise, just build the full ISO.
|
||||
BUILDMINI="no"
|
||||
|
||||
# set to "yes" to enable pushing new changes to a git repo/committing to a local repo
|
||||
# What URI should iPXE's EMBED script use?
|
||||
# Only used if BUILDMINI is set to yes.
|
||||
# DO NOT USE A ',' (comma); instead, replace it with:
|
||||
# %%COMMA%%
|
||||
# If you require HTTP BASIC Authentication or HTTP Digest Authentication (untested), you can
|
||||
# format it via the following:
|
||||
# https://user:password@domain.tld/page.php
|
||||
# This currently does not work for HTTPS with self-signed certificates.
|
||||
IPXE_URI="https://bdisk.square-r00t.net"
|
||||
|
||||
# Set to "yes" to enable pushing new changes to a git repo/committing to a local repo
|
||||
GIT="no"
|
||||
|
||||
# If this is set, use rsync to copy the http and iso files. This is the rsync destination host.
|
||||
@@ -119,17 +129,14 @@ I_AM_A_RACECAR="no"
|
||||
|
||||
# ________________________________________________________________________________________________
|
||||
## RECOMMENDED DEFALTS ##
|
||||
# The following shoult not be changed unless you are ABSOLUTELY, 100% SURE and COMPLETELY POSITIVE
|
||||
# The following should not be changed unless you are ABSOLUTELY, 100% SURE and COMPLETELY POSITIVE
|
||||
# about what you are doing!!!
|
||||
|
||||
# Legacy support.
|
||||
BASEDIR="${BASEDIR}"
|
||||
|
||||
# This used to be defined statically (e.g. CHBASEDIR="${BASEDIR}/chroot"),
|
||||
# but is now dynamically appended. Please don't alter this unless you renamed the chroot directory paths.
|
||||
# This used to be defined statically, but is now dynamically appended. Please don't alter this
|
||||
# unless you renamed the chroot directory paths.
|
||||
CHROOTDIR="${BASEDIR}/"
|
||||
CHROOTDIR32="${CHBASEDIR}root.i686"
|
||||
CHROOTDIR64="${CHBASEDIR}root.x86_64"
|
||||
CHROOTDIR32="${CHROOTDIR}root.i686"
|
||||
CHROOTDIR64="${CHROOTDIR}root.x86_64"
|
||||
|
||||
# This is a directory we use for staging. It definitely should not be checked into git.
|
||||
# It used to be defined statically (e.g. BUILDDIR="${BASEDIR}/build"),
|
||||
|
||||
@@ -293,9 +293,12 @@ EOF
|
||||
do
|
||||
patch -Np2 < ${BASEDIR}/src/ipxe_local/patches/${i} >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
done
|
||||
#make everything EMBED="${BASEDIR}/src/ipxe_local/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
make bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi EMBED="${BASEDIR}/src/ipxe_local/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
make bin/ipxe.eiso bin/ipxe.usb EMBED="${BASEDIR}/src/ipxe_local/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
# Generate the iPXE EMBED script...
|
||||
sed -re "s,^(chain\ ).*$,\1${IPXE_URI},g" \
|
||||
-e 's/%%COMMA%%/,/g' ${BASEDIR}/src/ipxe_local/EMBED > ${SRCDIR}/EMBED
|
||||
#make everything EMBED="${SRCDIR}/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
make bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi EMBED="${SRCDIR}/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
make bin/ipxe.eiso bin/ipxe.usb EMBED="${SRCDIR}/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
# Change this to USB-only...
|
||||
#make all EMBED="${BASEDIR}/src/ipxe_local/EMBED" >> "${LOGFILE}.${FUNCNAME}" 2>&1
|
||||
mv -f ${BASEDIR}/src/ipxe/src/bin/ipxe.usb ${ISODIR}/${USBFILENAME}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!ipxe
|
||||
|
||||
dhcp
|
||||
chain http://bdisk.square-r00t.net
|
||||
chain https://bdisk.square-r00t.net
|
||||
|
||||
Reference in New Issue
Block a user