Commit Graph

577 Commits

Author SHA1 Message Date
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
Enguerrand de Rochefort f11d98ae3c mklive: add -I directory inclusion option 2016-01-31 22:45:01 +01:00
Juan RP 8affcef52c Merge pull request #52 from equalsraf/tb-post-hook
mkrootfs: Added -k to run post hook
2016-01-30 08:36:37 +01:00
Juan RP d92586f115 Merge pull request #58 from lxb/master
installer: check network configured on source
2016-01-30 08:34:28 +01:00
lxb ca6559e8ba installer: check network configured on source 2016-01-29 17:49:48 -05:00
Rui Abreu Ferreira 465166a80f mkrootfs: Added -k to run post hook
New flag -k <cmd>. "<cmd> <path>" is executed after the rootfs
is created, <path> points to the new rootfs.
2016-01-18 15:18:30 +00:00
Juan RP 62406cba3f Merge pull request #51 from Vaelatern/truncate
Switch to truncate to allocate storage for images
2016-01-15 07:22:19 +01:00
Toyam Cox a25ec4a9b0 Switch to truncate to allocate storage for images
Works in low memory situations
2016-01-14 08:48:43 -05:00
Juan RP 6653bb6057 mklive: make this work with grub-2.02. 2015-12-19 08:43:16 +01:00
Juan RP 0bab24258a mklive: make this work on musl hosts. 2015-12-12 09:50:20 +01:00
Juan RP 242712da5b installer: redirect stderr to /dev/null for cciss(4). 2015-11-10 09:44:05 +01:00
Juan RP 97ce376755 Merge pull request #47 from the-maldridge/grub32
Add support for proper 32 bit grub
2015-11-05 11:16:18 +01:00
Michael Aldridge d6a20ce1c8 Add support for proper 32 bit grub 2015-11-05 03:54:19 -06:00
Juan RP dae97a2d81 build-x86-images: enable the LXQt image by default. 2015-11-03 17:03:51 +01:00
Juan RP fd1f7506b3 build-x86-images: added -r repo opt. 2015-11-02 17:16:42 +01:00
Juan RP 669ce503fc mklive: make sure -r is preferred over defaults. 2015-11-02 17:16:01 +01:00