Commit Graph
100 Commits
Author SHA1 Message Date
sickcodes 5dc2f4fd04 Temp Fix Failed to boot OSX with GENERATE_UNIQUE #244 2021-04-27 22:58:05 +00:00
sickcodes 309ff1cd51 Downgrade file to 5.39 due to libguestfs bug. All Dockerfiles though. 2021-04-18 19:28:03 +00:00
sickcodes 15cb15e153 [@aronzvi](https://github.com/aronzvi) - Fixed Failed to boot OSX with GENERATE_UNIQUE #244 2021-04-18 16:06:29 +00:00
sickcodes 5542eafad7 Fix CREDITS.md 2021-04-18 10:58:17 +00:00
sickcodes 19439bf2bd Add LIBGUESTFS debug & trace commands, exit on fail. Update credits 2021-04-18 10:54:43 +00:00
sickcodes 613236ffc9 Update custom from https://github.com/sickcodes/osx-serial-generator.git 2021-04-15 09:55:15 +00:00
sickcodes e2d69c2bb5 Fix NO_CACHE by default for testing 2021-04-12 09:16:44 +00:00
sickcodes 998f8d4108 Big Sur auto preparations 2021-03-28 11:04:29 +00:00
sickcodes bf9a00e679 Script to build all the images 2021-03-28 10:33:05 +00:00
sickcodes 6243c33e47 Remove envsubst to allow interactive QEMU using -i 2021-03-28 10:17:47 +00:00
sickcodes 95c7ee6792 Add shields with live image sizes 2021-03-26 11:58:31 +00:00
sickcodes d4ffc1f2f3 Restore fetch-macOS.py from OSX-KVM previous 2021-03-25 13:59:59 +00:00
sickcodes 2414f466d0 Enable interactive QEMU. Remove envsubst since we are already using bash. Add -x flag 2021-03-24 21:16:03 +00:00
sickcodes 27cd8247ee Substitution if not null only 2021-03-24 18:14:05 +00:00
sickcodes 9e7342f966 Add all ENV variables to each dockerfile for readability. Add RAM allocation buffer and cache drop bug fix. Add kvm and libvirt groups. Add IMAGE_FORMAT=qcow2 to allow IMAGE_FORMAT=raw too. 2021-03-24 13:40:16 +00:00
sickcodes 408bde5aa2 Add more secure VNC password generation. Update osx-serial-generator submodule. Acknowledge OpenCore bootloader usage. 2021-03-23 09:53:17 +00:00
sickcodes 37ed54da3d Update docker start commands (drop back into shell using docker start -ai <id>) and CREDITS.md 2021-03-21 21:11:40 +00:00
sickcodes d4b8a0f2be Fix RAM math error for -e RAM=max 2021-03-17 21:20:31 +00:00
sickcodes 57e8d0c06d Typo: Use RAM=max or RAM=half to suit all machines, dynamically. 2021-03-17 20:58:11 +00:00
sickcodes 413b09df93 Use RAM=max or RAM=half to suit all machines, dynamically. 2021-03-17 20:27:39 +00:00
sickcodes 5657d4230a Update issue templates 2021-03-14 09:59:30 +00:00
sickcodes 2295eef68f How to mount additional disks inside OSX 2021-03-12 17:58:33 +00:00
sickcodes 1d52a5a106 Fix redundant documentation 2021-03-09 22:06:35 +00:00
sickcodes e4c0b64200 FIRST: sudo touch /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDISK}" "${ENV}" 2021-03-09 20:34:09 +00:00
sickcodes 8cd84276a3 Add temporary folder for hardlinks ./custom 2021-03-09 20:00:40 +00:00
sickcodes 9fffacde9a Incorrect link update 2021-03-09 19:29:38 +00:00
sickcodes 0bce4b044f osx-serial-generator submodule update 2021-03-09 17:52:21 +00:00
sickcodes 5a71e19756 ./custom is now ./osx-serial-generator via submodule. Submodule inits. 2021-03-09 16:55:18 +00:00
sickcodes d6b86a604a osx-serial-generator submodule update 2021-03-09 16:38:34 +00:00
sickcodes ab9761adb7 Add https://github.com/sickcodes/osx-serial-generator.git as a submodule to replace ./custom 2021-03-09 08:44:58 +00:00
sickcodes c2916fd487 Dockerfile syntax error. 2021-03-06 19:25:26 +00:00
sickcodes 7382df8fa1 Fix BOOTDISK expected logic 2021-03-06 19:18:23 +00:00
sickcodes 7d6e5b30d8 Remove useless case statements. Allow -e HEADLESS=true as human readable alternative to -e DISPLAY=:99. 2021-03-06 17:59:03 +00:00
sickcodes 8935ce08ab Fix bootdisk not getting written to persistent file when using NOPICKER=true. NOPICKER=true is overridden by a custom plist now anyway. 2021-03-06 17:48:15 +00:00
sickcodes 72d942763e Fix help. Change envs to --envs. Auto turn on envs, plists, bootdisks if setting their output file names 2021-03-06 17:21:14 +00:00
sickcodes b2f6ac509c Typo 2021-03-04 13:27:12 +00:00
sickcodes 2077c3a453 v4.1 WIDTH/HEIGHT && move resolution README note 2021-03-04 13:22:13 +00:00
sickcodes 4b278bc42c Shift exits 2021-03-04 12:05:41 +00:00
sickcodes e03f0737c3 Fix .//config-custom.plist 2021-03-04 11:59:40 +00:00
sickcodes 45a5f2c074 wget -O case sensitive, silence source /env errors. 2021-03-04 11:57:52 +00:00
sickcodes 84fc71722c Syntax error: elif obviously needs a ; then 2021-03-04 11:42:36 +00:00
sickcodes 377c4e7cc5 Add -e MASTER_PLIST_URL to change the input config.plist at runtime. 2021-03-04 09:52:45 +00:00
sickcodes 3f4c0c6bd4 Add --custom-plist-url, --custom-plist <filename> or --master-plist to both serial generators. 2021-03-04 09:48:04 +00:00
sickcodes 408248ae4f Missing WIDTH and HEIGHT from naked and auto Dockerfiles 2021-03-04 09:12:50 +00:00
sickcodes 5469cb8a58 Add WIDTH and HEIGHT environment variables 2021-03-03 16:54:45 +00:00
sickcodes 55f3fd00b1 Add ADDITIONAL_PORTS, -e ADDITIONAL_PORTS='hostfwd=tcp::23-:23,' 2021-03-02 21:24:28 +00:00
sickcodes 5d648e1b59 Switch default internet to vmxnet3 as there is no incompatability with services. 2021-03-01 11:23:12 +00:00
sickcodes 275b27ef8f Documentation for Big Sur. v4.0 2021-02-27 12:10:08 +00:00
sickcodes d2ee959d27 Add bigsur BaseSystem.img support. Use --build-arg VERSION=11 or higher. Downloads latest version currently. 2021-02-27 07:54:28 +00:00
sickcodes a9e8821a06 Update helm chart to include link back to OG project. Dissolve testing branch references in favor of master. 2021-02-27 07:05:43 +00:00
sickcodes 60132b6c81 README.md Serial Number/iMessage readiness 2021-02-26 12:27:37 +00:00
sickcodes 91131a6bbb Add exists exits and required serial number files for building disk 2021-02-26 09:25:40 +00:00
sickcodes 258f6b455d Fix /env permissions for persistence after GENERATE_UNIQUE. Fix the following warning by chowning /dev/kvm earlier "libguestfs: warning: current user is not a member of the KVM group (group ID 108). This user cannot access /dev/kvm, so libguestfs may run very slowly. It is recommended that you 'chmod 0666 /dev/kvm' or add the current user to the KVM group (you might need to log out and log in again)." 2021-02-26 06:42:57 +00:00
sickcodes d1721028c8 NOPICKER now does: sed -i '/^.*InstallMedia.*/d' Launch.sh 2021-02-26 05:49:40 +00:00
sickcodes 84326051ca source "${ENV:=/env}" logic 2021-02-26 05:30:09 +00:00
sickcodes f2a49b046b Fixed subshell logic in startup scripts. 2021-02-26 05:26:35 +00:00
sickcodes a651aa0369 Change -e NOPICKER=true to simply do export BOOTDISK=/home/arch/OSX-KVM/OpenCore-Catalina/OpenCore-nopicker.qcow2. 2021-02-26 04:22:56 +00:00
sickcodes 105fdfd48f Add an unset WGET_OPTIONS variable that is set to --no-verbose in hub.docker.com, but unset by default, so you can watch progress. 2021-02-26 03:46:58 +00:00
sickcodes 9a846bbdbf Chown the disk image early. 2021-02-25 18:35:23 +00:00
sickcodes c5aab3020d Set defaults in obvious places 2021-02-25 18:16:24 +00:00
sickcodes 284fe9fbde Early chown required for all volumes... 2021-02-25 15:17:52 +00:00
sickcodes 316a8abfa0 Set temporary branch 2021-02-25 14:49:43 +00:00
sickcodes 23ab20c2fa Major serial number runtime generation and override changes. 2021-02-25 14:03:06 +00:00
sickcodes 9f104526e0 Typo 2021-02-25 08:58:52 +00:00
sickcodes 9e5538c195 Add Linux, libguestfs for building bootdisks within the Docker container. Add CPU_STRING to optionally override the whole CPU string. Unify variable names in ./custom. 2021-02-25 08:52:56 +00:00
sickcodes 4ffed54724 WIP generate-specific-bootdisk.sh 2021-02-24 12:17:16 +00:00
sickcodes 7886e0fd06 Add --output-env <filename> && --output-bootdisk <filename> 2021-02-24 11:49:20 +00:00
sickcodes 246fd12c18 TSV output, for easier scripting 2021-02-24 09:46:18 +00:00
sickcodes d3e86e1c53 Add config.plist and OpenCore boot disk generator to the script. 2021-02-24 05:52:17 +00:00
sickcodes 372905218f Add zip, fix global variables in the serial generator. 2021-02-24 05:29:17 +00:00
sickcodes 5aa689e8ad WIP: Machine unique value generator 2021-02-24 05:12:38 +00:00
sickcodes f608206926 Add NOPICKER=false in :latest. Add NOPICKER=true in :auto. Add networking speed docs. 2021-02-21 11:02:41 +00:00
sickcodes 4ac0bf163d Required KVM parameter fix. No idea how it's been absent for this long. 2021-02-21 10:50:19 +00:00
sickcodes 6f40c4c4de 3.1. base-devel image to skip simple packages. Add glibc overrides after every pacman -Syu which is currently required for non-Arch builds. 2021-02-21 06:38:27 +00:00
sickcodes fb73a31191 Self-host in the repo glibc to emphasize the temporariness of this patch. 2021-02-12 18:17:38 +00:00
sickcodes 4dcf20a362 Kubernetes helm chart submission! Thanks @cephasara 2021-02-12 18:11:48 +00:00
sickcodes 0af8357211 Package the helm setup for Artifact Hub. 2021-02-11 02:04:40 +00:00
sickcodes 91790f5f5d Add a default shell variable for the nic. 2021-02-08 22:08:25 +00:00
sickcodes 54afd6ad58 Add -e NETWORKING=e1000-82545em || -e ENV NETWORKING=vmxnet3 as runtime arguments. 2021-02-08 22:05:18 +00:00
sickcodes 217af19452 Reduced image by 5GB, thanks to @weskerfoot! 2021-02-08 19:36:55 +00:00
sickcodes 8401069229 Fixed cwd bug 2021-02-08 00:58:07 +00:00
sickcodes 7eb821dcc3 Add -e NOPICKER=false for the :naked image to be able to enter boot menu. 2021-02-07 19:25:59 +00:00
sickcodes 9a1cbbff95 Remove pacman -Scc until later. 2021-02-07 17:59:24 +00:00
sickcodes 9228312eba Add -e MAC_ADDRESS to change MAC_ADDRESS at runtime. 2021-02-07 17:27:02 +00:00
sickcodes 7a04945aae Use wget --no-verbose to prevent build buffer overload in the hub.docker.com build log 2021-02-03 03:17:40 +00:00
sickcodes f8595fbc8d Reduce build size & tidy 2021-02-03 02:04:22 +00:00
sickcodes 27d7496a70 Use -e OSX_COMMANDS to run commands in OSX at runtime in :auto. Add docker start -i instructions. 2021-01-27 19:02:10 +00:00
sickcodes 8db77770b0 Remove pointless VOLUME command. Replace curl with wget. 2021-01-26 21:25:45 +00:00
sickcodes fc3df53d0b zstd decompress instead of re-compress in README.md 2021-01-26 20:16:25 +00:00
sickcodes 0e0f3b1f4a Clean out your Docker images/history/cache by simply deleting /var/lib/docker 2021-01-26 18:14:29 +00:00
sickcodes bffd8f3990 [QOL] Fix auto image building wget log overload 2021-01-26 18:11:55 +00:00
sickcodes ab6f7cfc10 Missing -it in README.md for interactive qemu shell and ability to Ctrl+C container. 2021-01-24 16:30:59 +00:00
sickcodes ef3ba4ef33 Forgot COMPLETE=true for large disk in Dockerfile.auto 2021-01-24 16:27:17 +00:00
sickcodes 6c8fdea032 Bug in ARG for Original Dockerfile 2021-01-24 13:06:37 +00:00
sickcodes a09c565e36 [V3.0] Dockerfile, Dockerfile.auto, Dockerfile.naked 2021-01-24 12:47:19 +00:00
sickcodes f3c09858ab Up README with Kubernetes Helm Chart link @ ./helm. 2021-01-14 16:44:58 +00:00
sickcodes 849b2b8530 Use IMAGE_PATH as a variable during envsubst for the full path of mac_hdd_ng.img 2021-01-07 20:12:35 +00:00
sickcodes 2a949dfb02 Fix sounds errors and sshd missing on latest build 2021-01-07 11:22:07 +00:00
sickcodes 8d6d0359b1 v2.7 Replace gibMacOS with fetch-macOS.py. Replace iptables with iptables-nft. Remove libguestfs. 2021-01-05 13:15:44 +00:00
sickcodes bac7f39317 Added CHANGELOG, rankmirrors buildargs: RANKMIRRORS=yes, MIRROR_COUNTRY=US, MIRROR_COUNT=10 2021-01-05 10:03:25 +00:00