Thierry Parmentelat [Fri, 24 Apr 2015 13:09:46 +0000 (15:09 +0200)]
Setting tag bootcd-5.2-6
remove default kargs systemd.log_target=console console=ttyS0,115200
simpler bootcd layout (no memdisk nor isolinux-debug.bin)
keep track of actual kargs in log file for build.sh
Thierry Parmentelat [Fri, 24 Apr 2015 13:07:57 +0000 (15:07 +0200)]
display line with initial '*'
Thierry Parmentelat [Fri, 24 Apr 2015 10:12:53 +0000 (12:12 +0200)]
remove default console=ttyS0,115200 and systemd.log_target=console from default kargs
I suspect this is what was causing f21 bootCDs to remain silent
Thierry Parmentelat [Fri, 24 Apr 2015 10:11:21 +0000 (12:11 +0200)]
new target sync-build to push build.sh on a test plc
Thierry Parmentelat [Thu, 23 Apr 2015 15:50:24 +0000 (17:50 +0200)]
keep track of original kernel in kernel.from
Thierry Parmentelat [Fri, 3 Apr 2015 05:50:25 +0000 (07:50 +0200)]
Setting tag bootcd-5.2-5
changes for fedora 21 and its new release of syslinux
Thierry Parmentelat [Mon, 9 Mar 2015 09:46:13 +0000 (10:46 +0100)]
update micro doc on the sync targets
Thierry Parmentelat [Mon, 9 Mar 2015 09:22:05 +0000 (10:22 +0100)]
stupid me
Thierry Parmentelat [Mon, 9 Mar 2015 08:02:06 +0000 (09:02 +0100)]
previous commit works fine, so just a bit of cleanup
Thierry Parmentelat [Sun, 8 Mar 2015 20:34:05 +0000 (21:34 +0100)]
fixed the logic for the timeout (break instead of continue..)
Thierry Parmentelat [Sun, 8 Mar 2015 20:16:27 +0000 (21:16 +0100)]
allow for a 30s delay before eth0 comes up
Thierry Parmentelat [Sun, 8 Mar 2015 18:39:16 +0000 (19:39 +0100)]
looks like our problem is that eth0 is not yet known to the system when we try to do the ifconfig
Thierry Parmentelat [Sun, 8 Mar 2015 18:38:28 +0000 (19:38 +0100)]
a convenience target to push initscripts/ and systemd/ in an unwrapped area
Thierry Parmentelat [Sun, 8 Mar 2015 17:04:52 +0000 (18:04 +0100)]
coming back to a model that works .. most of the time
Thierry Parmentelat [Sun, 8 Mar 2015 13:53:27 +0000 (14:53 +0100)]
mmmh
Thierry Parmentelat [Sat, 7 Mar 2015 21:43:14 +0000 (22:43 +0100)]
obviously I did not get it what ExecStart supports - just like anything else in systemd apparently
Thierry Parmentelat [Sat, 7 Mar 2015 14:54:09 +0000 (15:54 +0100)]
redirect pl_sysinit and pl_boot to /dev/console
Thierry Parmentelat [Fri, 6 Mar 2015 23:20:57 +0000 (00:20 +0100)]
attempts to write stuff on the wemu output
Thierry Parmentelat [Fri, 6 Mar 2015 23:17:10 +0000 (00:17 +0100)]
gettty on tty2 should be spawned as per an entry in pl_boot.target.wants/
Thierry Parmentelat [Fri, 6 Mar 2015 23:15:15 +0000 (00:15 +0100)]
see if we could get rid of pl_wrapper
Thierry Parmentelat [Fri, 6 Mar 2015 23:14:56 +0000 (00:14 +0100)]
this sounds better although it does not fix anything
Thierry Parmentelat [Fri, 6 Mar 2015 23:11:32 +0000 (00:11 +0100)]
fixes in the workflow to debug ping-node issues
Thierry Parmentelat [Thu, 5 Mar 2015 18:42:05 +0000 (19:42 +0100)]
implement some make targets to ease testing of a bootCD layout, esp. wrt the ping_node step
Thierry Parmentelat [Wed, 4 Mar 2015 13:11:18 +0000 (14:11 +0100)]
trying to add an explicit dependency to network-online.target
Thierry Parmentelat [Tue, 3 Mar 2015 15:02:29 +0000 (16:02 +0100)]
the kernel flag systemd.log_level=debug is not set by default anymore, callers need to pass the 'systemd-debug' option to GetBootMedium (or to set that tag on node)
Thierry Parmentelat [Mon, 2 Mar 2015 16:29:50 +0000 (17:29 +0100)]
reinstate systemd debug in bootcd phase, as we do not get to boot off the bootCD very reliably
Thierry Parmentelat [Sat, 28 Feb 2015 11:13:58 +0000 (12:13 +0100)]
reduce amount of messages issued by the bootcd
Thierry Parmentelat [Fri, 27 Feb 2015 13:58:36 +0000 (14:58 +0100)]
just use the shell 'function' syntax
Thierry Parmentelat [Fri, 27 Feb 2015 13:58:04 +0000 (14:58 +0100)]
tweaks for f21
Thierry Parmentelat [Fri, 30 Jan 2015 16:48:35 +0000 (17:48 +0100)]
no real change in terms of the function
Thierry Parmentelat [Tue, 27 Jan 2015 20:53:31 +0000 (21:53 +0100)]
temp version that at least fixes a serious regression in previous revision
Thierry Parmentelat [Tue, 27 Jan 2015 09:37:46 +0000 (10:37 +0100)]
fedora21 comes with syslinux v6 which requires ldlinux.c32 in addition to its new isolinux.bin
in the process, drop support for an old location of isolinux.bin (pre-f12)
Thierry Parmentelat [Fri, 21 Mar 2014 15:01:52 +0000 (16:01 +0100)]
Setting tag bootcd-5.2-4
no change, only some internal comments were changed
Thierry Parmentelat [Thu, 6 Feb 2014 10:12:11 +0000 (11:12 +0100)]
just correct a comment
Thierry Parmentelat [Wed, 26 Jun 2013 07:03:56 +0000 (09:03 +0200)]
Setting tag bootcd-5.2-3
attempt to make node take off more reliable with pl_wrapper
Thierry Parmentelat [Wed, 26 Jun 2013 06:23:07 +0000 (08:23 +0200)]
undo previous move
Thierry Parmentelat [Wed, 26 Jun 2013 05:35:58 +0000 (07:35 +0200)]
daemonize pl_wrapper to fulfil systemd
Thierry Parmentelat [Tue, 25 Jun 2013 16:29:45 +0000 (18:29 +0200)]
pl_wrapper needs chmod +x
Thierry Parmentelat [Tue, 25 Jun 2013 15:49:03 +0000 (17:49 +0200)]
attempt to gather more data on bootcd boot sequence when run under systemd
Thierry Parmentelat [Wed, 24 Apr 2013 13:31:16 +0000 (15:31 +0200)]
Setting tag bootcd-5.2-2
fix version number as it shows up in version.txt (was empty)
Thierry Parmentelat [Wed, 24 Apr 2013 06:50:57 +0000 (08:50 +0200)]
pass only 2 numbers to version.txt as bootmanager's logic depends on that
Thierry Parmentelat [Tue, 23 Apr 2013 09:59:40 +0000 (11:59 +0200)]
pass rpmversion to prep.sh instead of trying to recompute it from the specfile
in fact the specfile that prep.sh sees is the one that comes from git, which does not have
the header prepended, so some variables are not defined and rpm squeaks
Thierry Parmentelat [Mon, 22 Apr 2013 13:06:53 +0000 (15:06 +0200)]
attempt to fix build/version.txt in bootcd image
Thierry Parmentelat [Thu, 7 Mar 2013 07:29:16 +0000 (08:29 +0100)]
Setting tag bootcd-5.2-1
turn off systemd traces at boot-time
Thierry Parmentelat [Thu, 7 Mar 2013 07:13:01 +0000 (08:13 +0100)]
bump to 5.2
Thierry Parmentelat [Wed, 27 Feb 2013 17:24:06 +0000 (18:24 +0100)]
oops, really turn off systemd debugging
Thierry Parmentelat [Tue, 26 Feb 2013 11:48:10 +0000 (12:48 +0100)]
Setting tag bootcd-5.1-5
fix console on tty2: this broke the build on fedora14
even though f14 doesn't use systemd by defaults there is /etc/systemd in there
Thierry Parmentelat [Sat, 23 Feb 2013 16:08:06 +0000 (17:08 +0100)]
mkdir default.target.wants if not present, for f14
Thierry Parmentelat [Fri, 22 Feb 2013 17:57:37 +0000 (18:57 +0100)]
Setting tag bootcd-5.1-4
turn on getty/console on tty2
Stephen Soltesz [Thu, 21 Feb 2013 16:43:11 +0000 (08:43 -0800)]
enable getty@tty2 in parallel with pl_boot.service
Thierry Parmentelat [Thu, 21 Feb 2013 11:11:04 +0000 (12:11 +0100)]
Setting tag bootcd-5.1-3
reviewed for systemd & f18
Thierry Parmentelat [Wed, 20 Feb 2013 10:51:14 +0000 (11:51 +0100)]
turn off systemd logging on console
Thierry Parmentelat [Thu, 14 Feb 2013 11:07:53 +0000 (12:07 +0100)]
full messages to get on console when rebooting if DEBUG_SYSTEMD is set
Thierry Parmentelat [Wed, 13 Feb 2013 20:42:56 +0000 (21:42 +0100)]
redirect systemd log on console
Thierry Parmentelat [Sat, 9 Feb 2013 07:03:35 +0000 (08:03 +0100)]
cannot use kargs to select bootCD default systemd target - this would
apply to hdd boots as well; symlink default.target instead
Thierry Parmentelat [Fri, 8 Feb 2013 18:42:37 +0000 (19:42 +0100)]
start with the simplest possible setup
Thierry Parmentelat [Mon, 7 May 2012 10:28:30 +0000 (12:28 +0200)]
Setting tag bootcd-5.1-2
turn off selinux, turns out needed with some combinations like lxc/f14
Thierry Parmentelat [Mon, 16 Apr 2012 14:41:48 +0000 (16:41 +0200)]
add selinux=0 mostly for lxc/f14
Thierry Parmentelat [Wed, 11 Apr 2012 08:03:56 +0000 (10:03 +0200)]
Setting tag bootcd-5.1-1
compatible with pre- and post- f16
add systemd friendlyness to bootcd
also add biosdevname=0 tp kernel args so ethernet devices are still named in eth<x>
Thierry Parmentelat [Wed, 11 Apr 2012 07:52:42 +0000 (09:52 +0200)]
bump release number to 5.1
Thierry Parmentelat [Fri, 6 Apr 2012 19:20:34 +0000 (21:20 +0200)]
quick, dirty but effective way to get systemd to run pl_sysinit as a
pre_script of pl_boot
Thierry Parmentelat [Fri, 6 Apr 2012 13:49:46 +0000 (15:49 +0200)]
trying out magic kernel option to avoid using em<x> ifnames
Thierry Parmentelat [Fri, 6 Apr 2012 13:49:07 +0000 (15:49 +0200)]
simplifies handling of the kernel args, no need for 2 variables
Thierry Parmentelat [Fri, 6 Apr 2012 11:50:13 +0000 (13:50 +0200)]
display /proc/net/dev in sanity checks
Thierry Parmentelat [Thu, 5 Apr 2012 13:07:30 +0000 (15:07 +0200)]
rephrase 'pl_boot: attempting to fetch script from <> server in 30s'
to show actual server name
Thierry Parmentelat [Thu, 5 Apr 2012 13:05:08 +0000 (15:05 +0200)]
cosmetic
Thierry Parmentelat [Thu, 5 Apr 2012 12:24:44 +0000 (14:24 +0200)]
try to ping boot server as part of the sanity check
Thierry Parmentelat [Thu, 5 Apr 2012 07:25:09 +0000 (09:25 +0200)]
the systemd/ files are intended to end up on the node side, not on the
server side
remove them from the bootcd-initscripts package that is for server
add them in bootcd image (as created by prep.sh)
Thierry Parmentelat [Wed, 4 Apr 2012 19:25:40 +0000 (21:25 +0200)]
Merge branch 'master' into lxc
in bootcd.spec, reinstate the test on the fedora distrib (for
requiring perl-syslinux) in a f16-compatible way
Thierry Parmentelat [Fri, 24 Feb 2012 12:53:52 +0000 (13:53 +0100)]
undo previous change, this breaks the build
Sapan Bhatia [Fri, 17 Feb 2012 21:19:07 +0000 (16:19 -0500)]
symlinks should point into install image not rpm build image
Sapan Bhatia [Fri, 17 Feb 2012 21:09:39 +0000 (16:09 -0500)]
symlinks should point into install image not rpm build image
Sapan Bhatia [Fri, 17 Feb 2012 20:12:27 +0000 (15:12 -0500)]
symlinks should point into install image not rpm build image
Sapan Bhatia [Fri, 17 Feb 2012 20:05:20 +0000 (15:05 -0500)]
symlinks should point into install image not rpm build image
Sapan Bhatia [Fri, 17 Feb 2012 19:46:55 +0000 (14:46 -0500)]
Added wants directories for targets
Sapan Bhatia [Fri, 17 Feb 2012 18:16:27 +0000 (13:16 -0500)]
Fix paths to be relative to build root
Sapan Bhatia [Fri, 17 Feb 2012 17:39:14 +0000 (12:39 -0500)]
Remove line that doesnt parse on f16. Should be ok because lxc is f14+
Sapan Bhatia [Fri, 17 Feb 2012 17:34:50 +0000 (12:34 -0500)]
Create symlinks instead of tarballing them
Sapan Bhatia [Fri, 17 Feb 2012 16:34:03 +0000 (11:34 -0500)]
install systemd files in bootcd
Sapan Bhatia [Fri, 17 Feb 2012 16:12:18 +0000 (11:12 -0500)]
systemd scripts for boot cd
Thierry Parmentelat [Fri, 10 Feb 2012 09:46:15 +0000 (10:46 +0100)]
fixes harmless error message in logs - somehow the specfile seems to
be used at some point without the build-generated definitions
for distro and the like
Thierry Parmentelat [Mon, 7 Nov 2011 09:21:29 +0000 (10:21 +0100)]
Setting tag bootcd-5.0-11
add requires: to syslinux-perl on fedora14
Thierry Parmentelat [Mon, 7 Nov 2011 07:44:33 +0000 (08:44 +0100)]
syslinux-perl starts with f14, not f12
Thierry Parmentelat [Fri, 4 Nov 2011 15:26:07 +0000 (16:26 +0100)]
add dep to syslinux-perl on f14 an on
Thierry Parmentelat [Mon, 21 Mar 2011 00:03:52 +0000 (01:03 +0100)]
Setting tag bootcd-5.0-10
blacklisted mdules
requires yum-utils for yumdownloader in bootcd-kernel
Thierry Parmentelat [Wed, 16 Mar 2011 10:03:39 +0000 (11:03 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/bootcd
Thierry Parmentelat [Wed, 16 Mar 2011 10:01:16 +0000 (11:01 +0100)]
attempt to fix small glitches in boot.log
S.Çağlar Onur [Tue, 15 Mar 2011 18:05:57 +0000 (14:05 -0400)]
remove hardcoded file list which won't match with SL6
S.Çağlar Onur [Tue, 1 Mar 2011 19:56:50 +0000 (14:56 -0500)]
do not try to load blacklisted modules
S.Çağlar Onur [Mon, 21 Feb 2011 19:22:15 +0000 (14:22 -0500)]
Setting tag bootcd-5.0-9
Handle /dev/rtc name change for newer kernels
S.Çağlar Onur [Mon, 21 Feb 2011 19:05:28 +0000 (14:05 -0500)]
Handle /dev/rtc name change for newer kernels
S.Çağlar Onur [Fri, 4 Feb 2011 15:13:11 +0000 (10:13 -0500)]
pick the PL kernel for bootCD
S.Çağlar Onur [Tue, 25 Jan 2011 19:54:10 +0000 (14:54 -0500)]
Setting tag bootcd-5.0-8
Revert hacky solution for 2.6.32 based kernels as they are no longer required
S.Çağlar Onur [Tue, 25 Jan 2011 15:53:31 +0000 (10:53 -0500)]
Revert "add optional 3rd argument to support additional packages, ex;"
This reverts commit
c332e5a1cdea2efa7ddd43a08a1dd7fe3c414054.
S.Çağlar Onur [Tue, 25 Jan 2011 15:53:23 +0000 (10:53 -0500)]
Revert "previous commit requires lots of changes in other modules so introduce a quick hack for now"
This reverts commit
cd07242d54498d34d6747e6d0bfd8031f41f282f.
Thierry Parmentelat [Sat, 22 Jan 2011 23:05:04 +0000 (00:05 +0100)]
Setting tag bootcd-5.0-7
changes for booting off fedora14
displays some sanity checks in case bm can's get downloaded
virtio devices in /dev/vd* also considered
start service rsyslog if found
hack for kernel-firmware with 2.6.32
use $() instead of ``
S.Çağlar Onur [Tue, 18 Jan 2011 21:19:58 +0000 (16:19 -0500)]
previous commit requires lots of changes in other modules so introduce a quick hack for now
S.Çağlar Onur [Tue, 18 Jan 2011 20:23:46 +0000 (15:23 -0500)]
add optional 3rd argument to support additional packages, ex;
./kvariant 2.6.32 http://build.planet-lab.org/planetlab/centos5/pl-centos5-x86_64-4.3-k32-latest/RPMS/x86_64/kernel-2.6.32-9.planetlab.x86_64.rpm http://build.planet-lab.org/planetlab/centos5/pl-centos5-x86_64-4.3-k32-latest/RPMS/x86_64/kernel-firmware-2.6.32-9.planetlab.x86_64.rpm
Barış Metin [Fri, 14 Jan 2011 14:35:44 +0000 (15:35 +0100)]
for future virtio support, checking virtio disks too (sneak this in along with other bootcd changes).
Thierry Parmentelat [Fri, 14 Jan 2011 13:23:24 +0000 (14:23 +0100)]
performs various sanity checks at network init and if curl fails