summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-18Remove unused lang= parameter at kernel command lineGerardo Exequiel Pozzi
Currently there is no code that use lang= parameter. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-18Rename archiso-early hook to archiso_earlyGerardo Exequiel Pozzi
To make compatible with disablehooks= param. Since "hook_archiso-early" is not a valid variable name. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-17Removed a non-working option: copytoramGerardo Exequiel Pozzi
Keep the code clean. For more reference see FS#17182 to view what is the issue Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-17Fix coding style in archiso hookGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-17Pass $newroot as part of the $mountpoint avoiding a global variableGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-17Take advantage of module autoloading when mounting images as loopGerardo Exequiel Pozzi
* Make first /dev/loop0 device at archiso install hook. * Remove unneeded losetup, all is done directly via mount. * Images are now mounted on /tmpfs/mnt/image-name instead of /tmpfs/mnt/loopN, removing unneeded counter. * Add some variables to make code more readable. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-17Drop to recovery shell when mounting main media filesystem fails.Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-16Implement mount hook function in archiso hook.Gerardo Exequiel Pozzi
Next version of mkinitcpio > 0.6.2 implements mount hook functionality. So can avoid skipping normal flow of main init script, and removing common end code with it. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08delete test-isolinux.shGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08Update splash screen and minor cleanups.Gerardo Exequiel Pozzi
Note: Resolved merge conflict Split from commit 31296c60 from Svenstaro branch Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08Fixed offset of partition on isoGerardo Exequiel Pozzi
Split from commit 00dda7d4 from Svenstaro repo: changed -offset for mkarchiso from default 0 to 1 so that the other partition on the usb device can still be edited after dd'ing to it Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08Delete old configs filesGerardo Exequiel Pozzi
Split from commit 00dda7d4 from Svenstaro repo. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-06Remove special handling for vfat, all done via blkidGerardo Exequiel Pozzi
* Add archisodevide= boot option (suggested by brain0) (if declared use it, if not use /dev/archiso created via udev rule) * Removed redundant modprobe commands, (modules are loaded automatically on mount -t) * Other minor changes Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-06Update archiso hooks to work with next mkinitcpio 0.6Gerardo Exequiel Pozzi
Some basic changes to make archiso hooks work with the next mkinitcpio 0.6 Tested under KVM, a ""2010.02"" and works fine with it. NOTE: current mkinitcpio-0.5.99.2-2 does not include "losetup", maybe will be included in next version, see #[1]. For now must be added manually. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-05Removed unused file, replaced by mkinitcpio.confGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-04Update label and kernel version in MakefileGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-04Removed wlan-ng26-utils from package listGerardo Exequiel Pozzi
This package was removed from repos. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-04Fix indentation of previus commitGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-02Abort mkarchiso if isolinux.cfg is not found.Gerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-02Make a /home/arch (arch:users 0755) in archiso startup scriptGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-02Fix perms on archiso startup scriptGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01Fix missing change in merge (9849db6a) for overlay rc.confGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01Fix bad boot path from prev commit and use memdisk provided by syslinuxGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01Misc fixes for syslinux-isoGerardo Exequiel Pozzi
* Removed .bin ext for x86test and memtest86+, with it does not work. (http://syslinux.zytor.com/wiki/index.php/Common_Problems) * Add url for x86test and memtest86+ * Re-add license for memtest86+ * Adjusted Makefile, some cleanups Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01Removed unused gen_grubscan script and grub reference in mkarchisoGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-12-01Change docs location in motdAaron Griffin
Closes FS#16231 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01Use 11 chars for fslabel for VFAT compatibilityGerardo Exequiel Pozzi
Also use ARCH_YYYYMM format instead of random chars, removing pwgen dep. Closing FS#14919. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01Avoid rebuild of initcpio images when there are no changes to .confGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> [Aaron: Merged with syslinux-iso] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01Silent locale-gen in archiso hookGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> [Aaron: Merged with syslinux-iso] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01Create user and locales at boot-time.Gerardo Exequiel Pozzi
* Avoids having to maintain a private copy of the files: passwd/shadow/group/gshadow * Similar but for locales, as well as the advantage of having ready the locale database that the user wants. (all NN_MM* will be enabled) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> [Aaron: Merged changes into syslinux-iso as well] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-12-01Add an error message when mounting aufs fails, then exit 1Gerardo Exequiel Pozzi
Closes FS#13381. Waiting 30 seconds for device /dev/archiso ... SUCCESS: Mounted archiso volume successfully. squashfs: version 4.0 (2009/01/31) Phillip Lougher aufs 2-standalone.tree-20090907 :: Mounting root (aufs) filesystem aufs au_xino_do_write:371:mount[407]: I/O Error, write failed (4294967268) aufs au_xino_set:1115:mount[407]: I/O Error, failed creating xino(-5). mount: Invalid argument ERROR: while mounting root (aufs) filesystem. Kernel panic - not syncing: Attempted to kill init! Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-30More removal of old bootloader supportAaron Griffin
Only support syslinux now. Grub and other things can still be managed manually by running mkisofs manually. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-11-30Add Sven's syslinux ISO config filesSven-Hendrik Haase
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-11-30Initial commit of syslinux based iso configAaron Griffin
Includes vesamenu config... needs testing Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-11-30Removed pwgen dependencySven-Hendrik Haase
2009-11-30mkarchiso: cleaned up to use isohybrid onlySven-Hendrik Haase
2009-11-23mkarchiso: cleanup opts, user dir creationSven-Hendrik Haase
As in title, this patch cleans up opt flags that exist for no reason and adds additional flags to modify the disk meta info which would otherwise be hardcoded. I wasn't quite sure about the user directory part but it doesn't seem like a good idea to put that part into the script and therefore I commented it out. It would probably interfere with rc.local scripts that take care of skel copying. I replaced the part after the TODO with a safe guard to make sure that people who are not aware of the changes will not be caught by surprise. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-11-19Another Makefile rules reoder/fixesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Reorder rules in the MakefileGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Initial rewrite of install-iso/Makefile to avoid rebuilds!Gerardo Exequiel Pozzi
Rewrite the Makefile to avoid rebuild of squashfs images, base filesystem, and redownload of packages for make the core-pkgs. For now (what is tested): type make and all images will be created in < 4 minutes (under tmpfs on Athlon 64 X2 5200+ 4GB) 419489280 Nov 19 05:32 archlinux-2009.11-core-i686.img 394309632 Nov 19 05:32 archlinux-2009.11-core-i686.iso 189181440 Nov 19 05:31 archlinux-2009.11-netinstall-i686.img 171581440 Nov 19 05:31 archlinux-2009.11-netinstall-i686.iso Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Fix script buildall.sh parameter ftp-iso -> net-isoGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Silent modprobe loop loading in mkarchisoGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Do not redownload/rebuild core-pkgs when making the repoGerardo Exequiel Pozzi
Another small step forward to avoid rebuilding of squashfs images if are alredy up-to-date core-repo. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Fix typo in previus commitGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-19Remove old memtest* files and use memtest86+ from installed packagesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17Fix a identation on READMEGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17Only lock the optical drive if mounted from thisGerardo Exequiel Pozzi
Check if FSTYPE is iso9660 or UDF, and only in this case look the optical drive. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-17Rename ramdisk_size parameter to tmpfs_size to avoid conflictGerardo Exequiel Pozzi
Rename ramdisk_size parameter to tmpfs_size to avoid conflict with the kernel parameter that is for old ramdisk based blockdevs (/dev/ramN) and confusion to users. The kernel parameter ramdisk_size=N is in "N * k size", while tmpfs size=N is in "N * [ k | m | g ] byte size" or "in N% of RAM", like is used by default on archiso. This parameter is used only for tmpfs in size option. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-11Add a default install-iso/overlay/etc/hosts with archiso aliasGerardo Exequiel Pozzi
With this add if some program is started and query about hostname, no annoying delay of ~10 seconds will occur. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-11-09Avoid force/rebuild of squashfs images if already updated.Gerardo Exequiel Pozzi
Check if there are any modification of files/directories inside the target directory for squashfs image. Implements in some way this item in TODO: * Add 'needsupdate' function to check if a squashfs image in the iso dir is up to date, if so, skip it; else rebuild it. No more need for the -f flag Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>