Compare commits
3 Commits
v2.03-beta
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a140c8270f | ||
|
|
728e157551 | ||
|
|
aa61a839c2 |
13
Makefile
13
Makefile
@@ -8,11 +8,15 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = glibc,grep,libzfs,util-linux,xz,zlib
|
DEPENDS = glibc,grep,libdevmapper,libzfs,util-linux,xz,zlib
|
||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL = http://www.gnu.org/software/grub/
|
URL = http://www.gnu.org/software/grub/
|
||||||
DESC = GNU GRUB is a Multiboot boot loader.
|
REPO = core
|
||||||
SNAPVER = 6
|
BRIEF = GNU GRUB is a Multiboot boot loader.
|
||||||
|
DESC = GNU GRUB is a very powerful boot loader, which can load a wide variety \
|
||||||
|
of free operating systems, as well as proprietary operating systems with \
|
||||||
|
chain-loading
|
||||||
|
SNAPVER = 9
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
@@ -69,7 +73,8 @@ $(ROOT): $(SRCDIR)/grub-core
|
|||||||
rm -v $(ROOT)/usr/share/info/dir
|
rm -v $(ROOT)/usr/share/info/dir
|
||||||
|
|
||||||
@install -v -m 644 $(PWD)/SNAP/grub.default \
|
@install -v -m 644 $(PWD)/SNAP/grub.default \
|
||||||
$(ROOT)/usr/share/grub/grub.default
|
$(ROOT)/usr/share/grub/grub.default && \
|
||||||
|
install -v -d -m 755 $(ROOT)/boot/grub
|
||||||
|
|
||||||
test: $(ROOT)
|
test: $(ROOT)
|
||||||
@cd $(SRCDIR); \
|
@cd $(SRCDIR); \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@@ -7,8 +7,8 @@ case $1 in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
postinst)
|
postinst)
|
||||||
if [ ! -f ${TARGET}/etc/default/grub ]; then
|
if [ ! -f /etc/default/grub ]; then
|
||||||
cp ${TARGET}/usr/share/grub/grub.default ${TARGET}/etc/default/grub
|
cp /usr/share/grub/grub.default /etc/default/grub
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
prerm)
|
prerm)
|
||||||
|
|||||||
Reference in New Issue
Block a user