Commit Graph

116 Commits

Author SHA1 Message Date
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
Georges Dupéron
47a7cf82b1 There seems to sometimes be an issue when creating the animation with the parallel build. Added more debug output, increased timeout. 2018-07-09 00:22:37 +02:00
Georges Dupéron
c5a140661d Increase delays to avoid the black bakground 2018-07-08 23:10:30 +02:00
Georges Dupéron
8f02777c59 Travis should run all the tests in self-test mode
Previously the Makefile target all depended on test, but it's the other way
round now
2018-07-08 22:31:23 +02:00
Georges Dupéron
b2ab5b464d Chameleon: the OS is now also a GPT-partitioned disk image (with a small quirk)
The quirk is that the ZIP trailer is inserted after the end of the
GPT-partitioned space, but GPT normally covers the whole disk.

This image is intended to be burned on a CD, flashed onto a floppy, USB key or
SD card. In these last two cases (where the GPT would make sense), the end of
the disk cannot be known in advance, so an incorrectly-placed GPT mirror is
not quite unexpected.
2018-07-08 22:26:08 +02:00
Georges Dupéron
a1a80feeea Remove artificial slowdown of ansi screenshots, use an ASCII character instead of an UTF-8 one to avoid corruption by travis. Cleanup. 2018-07-08 22:14:12 +02:00
Georges Dupéron
51189eb2cb Fixed typo in README.md paths 2018-07-08 17:44:31 +02:00
Georges Dupéron
7fcabc9ff2 Chameleon: the OS is now also an ISO9660 CD-ROM image 2018-07-08 17:01:56 +02:00
Georges Dupéron
dc362b52be Chameleon: the OS is now also a zip file. 2018-07-08 11:34:47 +02:00
Georges Dupéron
893a9b9d93 Added partition table to OS image, automatically format the first partition using FAT12 2018-07-08 02:58:10 +02:00
Georges Dupéron
d56b7442a4 Identify file format(s), disassemble as ARM binary (results show that it is not useable as a binary kernel image) 2018-07-08 00:11:43 +02:00
Georges Dupéron
7b5a320bc0 Cleanup temporary files, put twm session file in a temporary directory instead of ~ 2018-07-07 18:50:11 +02:00
Georges Dupéron
184d52101e Use twm instead of fluxbox, as fluxbox insists on drawing a background, and any configuration attempt fails half of the time. 2018-07-07 18:09:58 +02:00
Georges Dupéron
5daa80a125 Fixed typo (missing "test" command); moved screenshot loop to a separate script 2018-07-07 16:06:30 +02:00
Georges Dupéron
4c5c0cfa53 Don't create .gif if no screenshots were taken 2018-07-05 22:41:02 +02:00
Georges Dupéron
059fc30af1 Save an animation to help with debugging, increase delay after fbsetbg 2018-07-04 01:30:21 +02:00
Georges Dupéron
0eb453bebb Add a small delay after fbsetbg 2018-07-04 00:53:00 +02:00
Georges Dupéron
d5464b0227 Use fbsetbg since the fluxbox version on Travis consistently overwrites configuration files with the defaults 2018-07-04 00:30:27 +02:00
Georges Dupéron
118be99a3a Save screenshots for master and dev, in separate branches 2018-07-03 22:01:29 +02:00
Georges Dupéron
74ce426c80 .travis.yml: move self-test so that it runs first, factor out common APT packages 2018-07-03 20:28:24 +02:00
Georges Dupéron
dede351e63 Fix fluxbox wallpaper (and change it to be a checkerboard) 2018-07-03 20:02:43 +02:00