Some modern HDD come with agressive APM settings by default,
not only "green ready" drive also "high end" drives.
Adding hdparm so users can change/disable hdd settings (mostly -B -S -M).
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
The name of the bootloader is syslinux, while isolinux is just one
of many components. isolinux.bin now also accepts syslinux.cfg
as a configuration file name (as do all other loaders).
Thus, rename the isolinux/ folder to syslinux/, and rename
isolinux.cfg to syslinux.cfg. The only occurrence of 'isolinux'
is now the actual loader file 'isolinux.bin'. This makes
the transition from isolinux to the other syslinux loaders
easier when remastering the ISO onto another medium.
HDT is a hardware detection/info tool. It will show information about your hardware,
including PCI devices. It will also show the names of the kernel modules that will
support your devices.
* squashfs images that will be part of read-only branchs for union mount in /
are mounted on /ro_branch/{image_name} instead of /tmpfs/mnt/{image_name}
(and avoid empty dirs on live env under /mnt)
* tmpfs that will be part of read-write branch for union mount in /
is mounted on /rw_branch instead of /tmpfs
* tmpfs that is for store *.sqfs images when copytoram=y, is mounted on
/copytoram instead of /tmpfs.sqfs
* tmpfs_size= parameter renamed to rw_branch_size=
* tmpfs_sqfs_size= parameter renamed to copytoram_size=
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
First install {base} group, then install rest of packages listed
at in packages file.
In this way, ensure a fully base system installed first,
avoinding errors from install scriptlets of rest of packages.
(currently there is no issue with packages listed on packages files,
but if some add more packages to customize the iso will see errors)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
dialog is no longer in the base group, but it needs to be included on
the CD for AIF.
Signed-off-by: Christopher Brannon <cmbrannon79@gmail.com>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This script can be part of the wiki, or in another package/project.
(See Dieter comment at FS#12619)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
* Register a mount_hook if booted via PXE. This allows to do all needed
steps before and after calling archiso_mount_handler.
* umount and disconnect network device if copytoram=y
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
The purpose of this script is to setup a basic PXE server enviroment
from Arch Linux live-media. Only need to setup an ip address in the
machine and launch it. Booting all machines conected to the network
via PXE will boot Arch Linux Live media :)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
nbd (network block device utilities) package is required.
This package is in AUR at this moment.
http://aur.archlinux.org/packages.php?ID=9691
Also added dnsmasq pkg, so the live-medium, appart of support booting from PXE
also add the capability to acts as server for PXE & NBD.
This is a dirty script to ilustrate how to launch server:
---- Cut here ----
IP=$1
ISO=$2
ifconfig eth0 ${IP}
dnsmasq \
--enable-tftp \
--tftp-root=/bootmnt/boot \
--dhcp-boot=/pxelinux.0,"${IP}" \
--dhcp-range=${IP%.*}.2,${IP%.*}.254,86400
nbd-server 9040 ${ISO} -r
---- Cut here ----
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
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>