~ubuntu-core-dev/ubuntu/natty/grub2/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: rmh
  • Date: 2009-06-27 23:38:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1856.
  • Revision ID: rmh@localhost-20090627233857-ucmt78fc4mncwenu
Improve qemu description, add sample grub.cfg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
build/grub-firmware-qemu::
74
74
        $(MAKE) -C $@
 
75
        grub_dir=`mktemp -d` ; \
 
76
        grub_memdisk=`mktemp` ; \
 
77
        mkdir -p $${grub_dir}/boot/grub ; \
 
78
        cp debian/grub-firmware-qemu_grub.cfg $${grub_dir}/boot/grub/grub.cfg ; \
 
79
        tar -cf - -C $${grub_dir} boot > $${grub_memdisk} ; \
75
80
        $(CURDIR)/$@/grub-mkimage -d $(CURDIR)/$@ \
76
81
                at_keyboard \
77
82
                ata serial \
78
83
                pc gpt \
79
84
                ext2 iso9660 reiserfs xfs fat tar \
80
 
                normal ls cat help minicmd halt reboot configfile search \
 
85
                normal sh ls cat help minicmd halt reboot configfile sleep search echo \
81
86
                multiboot linux \
 
87
                halt reboot \
 
88
                memdisk \
 
89
                -m $${grub_memdisk} \
82
90
                -o $(CURDIR)/$@/grub.bin
83
91
 
84
92
install/grub-pc install/grub-efi-ia32 install/grub-efi-amd64 install/grub-ieee1275 install/grub-coreboot::