Takes the advantage of already symlinks created on /dev/disk/by-label/ by
60-persistent-storage.rules add by udev hook.
Tested on:
* Real machine as CD-ROM and USB key drive.
* KVM as CD-ROM and DISK (for both modes, in combination with IDE and SCSI)
* VirtualBox as IDE CD-ROM.
IMPORTANT note: Since isohybrid is a hack, if more partitions are added to
USB key drive, filesystem on these partitions MUST have LABEL, otherwise
USB key will fail to boot. Anyway there is an option archisodevice=,
to force and specific device where live-media reside.
(Maybe isohybrid will change the hack method used in a future)
More info at:
http://mailman.archlinux.org/pipermail/arch-releng/2010-March/000890.htmlhttp://mailman.archlinux.org/pipermail/arch-releng/2010-March/000913.html
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Fix file permissions, since GIT does not manage perms other than 755 and 644.
Also this can be used to adjusts owner:group.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
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>
* 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>
* 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>
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>
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>
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>
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>
The current list is a bit old, just update to match current
package names. Removing old packages, some renames, and add some
new wireless firmwares.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Updated entries to match passwd/shadow/group/gshadow(*) auth db from
svn trunk filesystem package.
(*) A correct gshadow file is add matching group file.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Updated entries to match passwd/shadow/group/gshadow(*) auth db from
svn trunk filesystem package.
(*) A correct gshadow file is add matching group file.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Just add an "x" to fix:
FS#15707 - [filesystem] New grpck barks on gshadow
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
The script download-rep.sh in config/install-iso should first check if a package
is present in local pacman cache before downloading it with wget.
[Aaron: Added missing 'then' on added if statement]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Git doesn't track empty directories, so there is no
configs/install-iso/overlay/pacman.d/ directory when one clones the
archiso project. This causes "make <IMAGENAME>" to fail when
wget tries to fetch the mirrorlist. The fix is to make the directory
just before calling wget.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Removed unused packages from i686 list (intel binary blob modules)
* Added b43-fwcutter to both
* Added iwlwifi-5150-ucode to both
* Added pcmcia hook zu mkinitcpio files
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Modified all references from old ftp-iso/-img to netinstall.
This will fix FeatureRequest FS#14587
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This will generate a label ARCHISO_$randomstring using the pwgen
utility and add this label to the kernel command line.
A new label will be generated for each image, so it can be uniquely
identified.
Patch from brain0 <thomas@archlinux.org>
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
We preset HARDWARECLOCK with localtime if the user doesn't set this via
cmdline. But this preset misaligned the BIOS clock if on UTC and the
user select this correctly during aif->date/time-setting.
This is in relation to FS#15263
Again: There is no need in LiveCD environment to modify BIOS clock
during shutdown.
Having this set per default to localtime rc.shutdown sources rc.conf and
so localtime is badly used. And worked against the meaning of above
flyspray report.
(Thanks fs4000, for point me on that)
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Removed mirrorlist file from overlay and modified Makefile to fetch
the file dynamically on iso creation (Thanks, Dan!)
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Added ntp to packages list (Both ARCHes)
* Modified Makefile to parse the CARCH related packages.$ARCH
We need different lists cause not all packages exist for both arches.
And it's bad to edit in the packages.list each build.
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Added a script to overlay which call aif's interactiv procedure when
/arch/setup is started. Also removed old arch-installer from
packages.list
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
We had a few typos in overlay/etc/pacman.d/mirrorlist.
Also upated to the last mirrorlist data file.
This will fix FS#13970.
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This is used currently for usbdelay related settings, but could be used for
other things in the future
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
The x86_64 images were installing i686 systems. This
was due to the fact that the mirrorlist was in the overlay.
A new devtools release (with the -n arg) will fix this when
running mkarchroot. To be removed later
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This is crappy and hacky but enables us to build ALL
images faster, allowing for faster iteration
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
If testing is enabled, -Sp will give us testing URLs.
Use the $repo/$pkgname format for packages so we get
the right files
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Clean pacman.d/mirrorlist and pacman.conf. Otherwise the files from the
ISO builder's machine are used (which maybe not clean sometimes).
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
[Aaron: Removed packages.list changes]
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Msg files updated for 2009.01. Also added the missing binary memtest.
Isolinux need a own memtest, it could not start the memtest.img which is
used by grub. We should investigate on this for further iso's
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
PATA is the new-hotness, IDE is the old (legacy)
mode. Somehow this has been switched around for some
time...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This lets us build resultant images in sequence, as
the suqsh step is done multiple times (TODO: fix this)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Also do some tidying of the config and set the
default timezone to nothing, to prevent hiccups on
rc.shutdown
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Should be easier and cleaner. Makes a dumb ISO that does nothing
but is intended as an example to the user.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
The previous code handled timezone changes poorly when
fiddling with the hwclock. Add localtime/UTC selection
for the hwclock to circumvent this
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Make sure we copy the boot directory we installed to the actual
ISO image. We need this for vmlinuz26 and the like...
Are we doing too much in the Makefile?
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Lots of changes, mainly for argument processing
and things of that nature in mkarchiso. Split out
some common functionality in the Maekfile as well.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>