Commit Graph

136 Commits

Author SHA1 Message Date
Georges Dupéron
6f0e326fc2
Omit the build directory path from os.offsets.hex
The build directory is not the same for the normal build and the build made to check for reproducibility.
2018-09-23 23:06:00 +02:00
Georges Dupéron
ef39ce5f07
Avoid copying iso_files as a subfolder of an existing iso_files.tmp if the latter was not cleaned correctly 2018-09-23 23:06:00 +02:00
Georges Dupéron
a4df933a8c
Added COMMIT_TIMESTAMP_ISO_8601 as a Makefile parameter 2018-09-23 23:06:00 +02:00
Georges Dupéron
eb6d919886
Check that the build is reproducible 2018-09-23 23:05:58 +02:00
Georges Dupéron
ec51b163e2
Made the build directory configurable 2018-09-01 11:15:24 +02:00
Georges Dupéron
b642d00850
Closes #42: Reproducible builds
232 initial number of different lines in the hexadecimal dump.
160 (recursive touch in iso_files)
108 (touch os.32k)
46  (faketime on mkisofs)
38  (faketime on mformat)
32  (faketime on mcopy)
0   (explicit partition and disk GUIDs)
2018-09-01 11:15:11 +02:00
Georges Dupéron
b01673890e make -j 10 sometimes fails to mount the resulting ISO9660 filesystem, added information to help debug the issue 2018-08-26 14:23:04 +02:00
Georges Dupéron
8404cc860e Updated Sikuli 2018-08-26 14:23:04 +02:00
Georges Dupéron
ef4c20ce7a Closes #23: rename project since it does not use only Travis anymore 2018-08-26 14:23:00 +02:00
Georges Dupéron
224809a83c appveyor: test OS, run os.bat in a nested cmd.exe, fix: MS-DOS was ignoring one line
appveyor:
* test the OS
* run os.bat in a nested cmd.exe as a temporary fix for #12
* fix issue with MS-DOS ignoring one line
2018-07-29 00:35:17 +02:00
Georges Dupéron
85af2114c6 ms-dos: CR+LF line endings, avoid lines longer than 8192, add [pause|exit] argument to .bat and sh code 2018-07-29 00:32:01 +02:00
Georges Dupéron
1e431b3fe0 gdisk requires an extra confirmation step on windows 2018-07-29 00:32:01 +02:00
Georges Dupéron
101d417d53 Build os.offsets.hex and os.offsets.dec 2018-07-29 00:32:01 +02:00
Georges Dupéron
fbb5526f3f Use a smaller partition in the dummy partition table created in assembly, to avoid gdisk warning
gdisk was giving the following warning with the previous size: Secondary partition table overlaps the last partition by 72 blocks!
2018-07-29 00:32:01 +02:00
Georges Dupéron
9fa55baf2c Print build system information (using uname) 2018-07-29 00:32:01 +02:00
Georges Dupéron
61525f2374 appveyor: install dependencies, build OS 2018-07-29 00:32:01 +02:00
Georges Dupéron
62cd2d1354 Remove leftover "|| true" from Travis configuration debugging 2018-07-29 00:32:01 +02:00
Georges Dupéron
4c6ac73c9e Remove fdisk version info, as it is not used 2018-07-28 23:41:03 +02:00
Georges Dupéron
e883a18dc1 Missing files from list of built files 2018-07-28 23:41:00 +02:00
Georges Dupéron
efa0e82c06 Reorganized Travis build order, so that a more varied selection of platforms is present near the top 2018-07-25 15:12:54 +02:00
Georges Dupéron
eadd7da136 Makefile: missing dependency for offsets 2018-07-25 09:50:10 +02:00
Georges Dupéron
4c992f16dc Fix recursive invocations of make used to analyze the Makefile itself 2018-07-25 09:50:10 +02:00
Georges Dupéron
0e9ac314bb macos: start the terminal, then make the window active, not the other way round 2018-07-25 09:50:10 +02:00
Georges Dupéron
b467608409 macos does not have readlink command, but has realpath 2018-07-25 09:50:10 +02:00
Georges Dupéron
75fbb89c07 macos: starting a terminal with a given script seems to return immediately. Will have to find another way to kill the terminal. 2018-07-25 09:50:10 +02:00
Georges Dupéron
529d6a67f0 Updated sikuli test for macos 2018-07-25 09:50:10 +02:00
Georges Dupéron
d53e7ae908 macos: sikuli, change wallpaper (must be set using an absolute path) 2018-07-25 09:50:10 +02:00
Georges Dupéron
532140f5fc Use only mktemp -d, as it is near-impossible to get mktemp to create a file with a suffix (extension) on macos 2018-07-25 09:50:10 +02:00
Georges Dupéron
cea641936a mktemp: behaviour is too different between mac and linux, factored out workarounds to a separate .sh 2018-07-25 09:50:10 +02:00
Georges Dupéron
f16410b718 macos: mktemp does not accept --suffix option, use a template instead 2018-07-25 09:50:10 +02:00
Georges Dupéron
54363287d1 Pre-fill known_hosts, as it doesn't already know github on Travis with macos 2018-07-25 09:50:10 +02:00
Georges Dupéron
3a29713f9d macos: added Makefile target for macos tests 2018-07-25 09:50:10 +02:00
Georges Dupéron
81a037caa5 imagemagick is missing x11 support 2018-07-25 09:50:10 +02:00
Georges Dupéron
aae809550c macos: setup /tmp/.X11-unix and take screenshots in Xvfb 2018-07-25 09:50:10 +02:00
Georges Dupéron
1d974525bf macos: trying gui stuff 2018-07-25 09:50:10 +02:00
Georges Dupéron
58cf74d7a3 Show gdisk output when printing partition tables 2018-07-25 09:50:10 +02:00
Georges Dupéron
b15dc2d597 Use gdisk instead of fdisk when printing partition table 2018-07-25 09:50:10 +02:00
Georges Dupéron
51de94c2f3 Use [[:space:]] instead of \s 2018-07-25 09:50:10 +02:00
Georges Dupéron
0371e15dbd macos: compatibility with wc 2018-07-25 09:50:10 +02:00
Georges Dupéron
3d8aff7eb2 Enabled warnings in nasm 2018-07-25 09:50:10 +02:00
Georges Dupéron
bc45cee11c os.offsets was missing the offset name 2018-07-25 09:50:10 +02:00
Georges Dupéron
992766f139 macos: Use gdisk for all partitioning tasks, show gdisk commands for readability
Since the mac version of fdisk does not behave exactly like the linux one (sequence of text-mode menus), use gdisk for all tasks.
2018-07-25 09:50:07 +02:00
Georges Dupéron
04c09545d3 macos: brew install mkisofs, mtools, imagemagick, gdisk 2018-07-24 23:39:52 +02:00
Georges Dupéron
aad6ef80d2 Ensure that Travis collapses the output of the commands 2018-07-24 23:39:22 +02:00
Georges Dupéron
229e259fe4 macos: don't use a NASM label named loop, don't use syntax for strings with C-style escapes 2018-07-24 23:39:22 +02:00
Georges Dupéron
79fd39e7cb Print tool versions in Travis 2018-07-21 23:20:19 +02:00
Georges Dupéron
1cbc87a562 macos: sed compatibility 2018-07-21 23:20:15 +02:00
Georges Dupéron
d141c103d6 Initial attempt for macos support 2018-07-21 23:20:08 +02:00
Georges Dupéron
53798d6ee1 Moved makefile one level up (part 2: modify), rearchitectured the offset calculation to use temporary files, so that dependencies are easier to express. 2018-07-11 18:01:13 +02:00
Georges Dupéron
f53fea6d5d Moved Makefile one level up (part 1: rename) 2018-07-11 15:06:16 +02:00