* Fwd: On boot tests [not found] <d019d53c1001260550v5d34dd30q356dc7471ef72498@mail.gmail.com> @ 2010-01-27 16:58 ` BVK Chaitanya 2010-01-27 17:04 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 1 reply; 2+ messages in thread From: BVK Chaitanya @ 2010-01-27 16:58 UTC (permalink / raw) To: The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 448 bytes --] FYI ---------- Forwarded message ---------- From: BVK Chaitanya <bvk.groups@gmail.com> Date: 2010/1/26 Subject: On boot tests To: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> Hi Vladimir, Let me know what you think of the attached linux boot testcase. It is similar to what you have done, except that it does everything only using shell script commands. thanks, -- bvk.chaitanya -- bvk.chaitanya [-- Attachment #2: test_boot_linux.in --] [-- Type: application/octet-stream, Size: 920 bytes --] #! /bin/bash # download vmlinuz and initrd files test -f @builddir@/vmlinuz || wget -c http://ftp.us.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/vmlinuz test -f @builddir@/initrd.gz || wget -c http://ftp.us.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/initrd.gz script=`mktemp` chmod a+x $script cat >$script <<EOF #!/bin/sh echo "`basename $0`: PASS" >/dev/ttyS0 poweroff EOF # update initrd.img with script dir=`mktemp -d` zcat initrd.gz | (cd $dir; cpio -i) 2>/dev/null mkdir -p $dir/boot/grub cp $script $dir/boot/grub/init newinitrd=`mktemp` (cd $dir && find . | cpio -o -H newc | gzip) >$newinitrd 2>/dev/null FILES="/boot/vmlinuz=vmlinuz /boot/initrd.gz=${newinitrd} /boot/init=$script" @builddir@/grub-shell --include-files="$FILES" --boot=cd <<EOF linux /boot/vmlinuz init=/boot/grub/init panic=1 initrd /boot/initrd.gz boot halt EOF exit 0 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fwd: On boot tests 2010-01-27 16:58 ` Fwd: On boot tests BVK Chaitanya @ 2010-01-27 17:04 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 2+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-01-27 17:04 UTC (permalink / raw) To: The development of GNU GRUB [-- Attachment #1: Type: text/plain, Size: 884 bytes --] BVK Chaitanya wrote: > FYI > > > ---------- Forwarded message ---------- > From: BVK Chaitanya <bvk.groups@gmail.com> > Date: 2010/1/26 > Subject: On boot tests > To: Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> > > > Hi Vladimir, > > > Let me know what you think of the attached linux boot testcase. It is > similar to what you have done, except that it does everything only > using shell script commands. > > Just for the information: mine is in people/phcoder/boottest and doesn't need busybox > thanks, > -- > bvk.chaitanya > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 293 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-27 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <d019d53c1001260550v5d34dd30q356dc7471ef72498@mail.gmail.com>
2010-01-27 16:58 ` Fwd: On boot tests BVK Chaitanya
2010-01-27 17:04 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.