Commit Graph

442 Commits

Author SHA1 Message Date
masato9000 a4b3dd36c9 Improve support for 32-bit EFI firmware in ISOs and installer
mklive:
- include support for booting both 32- and 64-bit UEFI firmware with
  32- and 64-bit images.
- require grub packages for both firmware bitness types
  (build-x86-images)

Installer:
- include support for installing both 32- and 64-bit UEFI grub loaders
- detect UEFI platform (firmware) bitness at install time

Closes: #102 [via git-merge-pr]
2017-08-02 22:25:09 -07:00
M. Dietrich fe57bb4b06 set umask 022 2017-08-02 16:31:15 -07:00
M. Dietrich fbe5b8dccb fix error_out (line/errno handling)
Closes: #84 [via git-merge-pr]
2017-06-23 13:05:11 -07:00
Michael Aldridge 7428a52080 Support really long WPA2 keys, resolves #79 2017-06-23 12:47:34 -07:00
Michael Aldridge 79adf63842 Correctly detect musl host architecture
This resolves #106
2017-06-23 12:46:49 -07:00
Toyam Cox 03b894370f Merge pull request #94 from metadave/dp_fix_net_message
fix network error message
2017-06-23 15:42:06 -04:00
Toyam Cox b23f918d6f Merge pull request #95 from metadave/dp_check_for_root
bail out if not root
2017-06-23 15:41:29 -04:00
Enno Boland a0cf80b5ce Merge pull request #112 from gquittet/master
Added NVMe SSD compatibility
2017-06-11 11:31:32 +02:00
Guillaume Quittet a7bb148a28 Added NVMe SSD compatibility
I've added the NVMe SSD disks compatibility because the installer doesn't detect them.
2017-06-11 11:30:20 +02:00
Toyam Cox dc9c842f9c build-arm-images.sh.in: fix typo 2017-02-28 12:53:12 -05:00
Leah Neukirchen 2df9a27e8d build-arm-images: add odroid-c2 and rpi3. 2017-02-20 17:17:34 +01:00
Dave Parfitt 737c00b262 bail out if not root 2017-01-23 09:50:20 -05:00
Dave Parfitt 99127fe281 fix network error message 2017-01-23 09:47:38 -05:00
Leah Neukirchen 57c6107be3 mkrootfs.sh.in/mkimage.sh.in: add rpi3. 2017-01-14 18:41:30 +01:00
Chris Brannon 4317c1a4f6 Preserve Linux capabilities when running tar, and misc fixes for mkrootfs. (#92)
* Preserve Linux capabilities in various tar invocations.

Otherwise, ping as non-root will not work when using a Void image.

Don't try to umount pseudofilesystems when $rootfs is undefined.
On mktemp failure, die in the script itself, not the $( ... ) subshell.
And remove the second FATAL: from the error message.
2016-12-10 12:30:13 +01:00
Christopher Brannon 9800862806 mkimage.sh: fix sfdisk usage for multiple arches.
In the case where we have two partitions, boot and root, the
root partition needs to start at sector (2048 + bootfs_size_in_sectors),
not at $BOOT_FSSIZE.
Using $BOOT_FSSIZE as the start tells sfdisk to try to start the
/ partition in the middle of /boot, which it refuses to do.
Leave start blank, and sfdisk uses the first unallocated sector as
the start of /, which happens to be sector 2048 + bootfs_size_in_sectors.

I suspect this fixes #81.
2016-11-30 13:32:00 +01:00
Christian Neukirchen 58f6a3e7c0 mkimage.sh.in: odroid-c2: u-boot doesn't understand new ext4 features, disable. 2016-09-24 17:23:31 +02:00
Christian Neukirchen 8af0cf2d15 mkrootfs.sh.in: fix for odroid-c2. 2016-09-24 17:21:43 +02:00
Jürgen Buchmüller 758deda76c Merge pull request #83 from pullmoll/installer
installer.sh.in: fixes and improvements
2016-09-09 21:57:11 +02:00
Juergen Buchmueller b820b28d66 installer.sh.in: fixes and improvements
+ Add INFOBOX() because dialog --infobox is incompatible with --keep-tite on xterm
+ Use clear after INFOBOX() to not leave irritating info on the screen
+ Make the live system copy process use a --progressbox
+ Use a tar pipe to copy from live ISO to target file system
2016-09-05 09:31:25 +02:00
Toyam Cox 50148f369f installer.sh.in: change irc channel to be correct 2016-08-24 19:47:38 -04:00
Juan RP 8a22f2c03d mkimage: typo fix (close #80). 2016-08-11 08:19:31 +02:00
Juan RP fdb41f88e8 mkimage: active first partition (fat32) for bbb and others.
I activated the second partition by accident when the code was changed
to use sfdisk. Found and fixed by @pullmoll.

Close #80
2016-08-10 07:40:35 +02:00
Jürgen Buchmüller de4c52a4a6 installer.sh.in: add ISO-639 and ISO-3166 tables (#71)
The locale selection now has user friendly names for language
and country. This time without bashisms.
2016-05-12 08:13:56 +02:00
Christian Neukirchen b2415b015d mkimage.sh.in: add odroid-c2. 2016-05-06 14:41:04 +02:00
Christian Neukirchen d1e633fc12 mkrootfs.sh.in: add odroid-c2. 2016-05-04 19:24:46 +02:00
Michael Aldridge b7e8732b04 Add *.iso to .gitignore (#69) 2016-05-01 06:12:44 +02:00
Juan RP d6f949d640 mkimage: get rid of parted completely (missed this in previous). 2016-04-29 14:17:49 +02:00
Juan RP 7e21c2f151 dracut/adduser.sh: remove double whitespace from sudoers.
This lets the installer remove the anon rule from etc/sudoers.
2016-04-29 09:24:01 +02:00
Juan RP 9d66fae1c0 mkrootfs: ignore rmdir error output. 2016-04-29 09:23:38 +02:00
Juan RP 3debfb21de mkimage: ci20 uboot does not need /boot/vmlinux.img; looks for uImage. 2016-04-27 12:48:46 +02:00
Juan RP 687cd4e536 mkimage: match any platform (glibc and musl). 2016-04-26 15:47:56 +02:00
Juan RP 6372530837 mkimage: get rid of parted; use sfdisk(8). 2016-04-26 15:00:55 +02:00
Juan RP be2251492f mkimage: ci20 just needs a single partition and expects the kernel in /vmlinux.img. 2016-04-26 11:45:37 +02:00
Juan RP ffe9572e3f mkimage: added ci20 platform support (MIPS CI20 Creator). 2016-04-26 11:20:14 +02:00
Juan RP 8b06a299c9 mkrootfs: added ci20 platform support (MIPS CI20 Creator). 2016-04-26 11:00:14 +02:00
Juan RP 06f8beb628 *rootfs: fix remaining x86 rootfs issues. 2016-04-20 16:19:55 +02:00
Juan RP a15f8c0300 mkrootfs: generate x86 tarballs correctly, requested by scaleway. 2016-04-20 14:36:57 +02:00
Juan RP 4c932c619e Merge pull request #66 from pullmoll/master
installer.sh.in: improve primary user setup
2016-04-18 18:25:21 +02:00
jbu 6edaeb29a6 installer.sh.in: improve primary user setup
+ change shebang to #!/bin/bash because we use bashisms
+ add --insecure to password inputs to make them display asterisks (*)
+ add input for full user name (as opposed to login name)
+ add a checklist for primary login group memberships
+ enable /etc/sudoers line for members of group wheel
+ let the user choose grub input/output by console instead of graphics
2016-03-28 20:03:57 +02:00
Juan RP 53f25b6937 build-x86-images: added dejavu-fonts-ttf as suggested by chris2. 2016-03-16 11:20:01 +01:00
Juan RP afc400fec7 build-x86-images: switch to firefox-esr. 2016-03-16 11:08:50 +01:00
Juan RP fcafd53f10 build-x86-images: also pass -r arg to mklive. 2016-03-16 10:45:17 +01:00
Juan RP 4477f82d09 Merge pull request #62 from rdamen/master
mkimage.sh.in: fix truncate size argument
2016-03-08 10:25:49 +01:00
Ron Damen 11000d9f3c mkimage.sh.in: fix truncate size argument 2016-02-24 14:35:13 +01:00
Juan RP f5a75aeb13 mklive: fix print_step()... 2016-02-07 09:41:40 +01:00
Juan RP c5bade28ee Merge pull request #59 from pullmoll/master
installer.sh.in: add user account dialog
2016-02-04 08:19:20 +01:00
Juan RP 719ae8a06c Merge pull request #57 from enguerrand/master
mklive: add -I directory inclusion option
2016-02-04 08:19:05 +01:00
jbu 678fabe87e installer.sh.in: add user account dialog 2016-02-04 08:07:54 +01:00
jbu 3b448665e9 installer.sh.in: avoid scrolling for wep/wpa input 2016-02-04 08:07:54 +01:00