include $(TOPDIR)/rules.mk
PKG_NAME:=lilo
-PKG_VERSION:=22.7.3
+PKG_VERSION:=22.8
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
PKG_SOURCE_URL:=ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/
-PKG_MD5SUM:=
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_MD5SUM:=72765f2aafd20e23ecf07ebd22baeec7
include $(INCLUDE_DIR)/package.mk
LOOPDEV="/dev/loop1"
mkdir mount
-cp bin/openwrt-x86-2.6-ext2.img bin/boot.img
+cp bin/openwrt-x86-ext2.img bin/boot.img
sudo losetup $LOOPDEV bin/boot.img
sudo mount $LOOPDEV mount
sudo cp build_i386/linux/arch/i386/boot/bzImage mount/vmlinuz
sudo mkdir mount/boot
-sudo build_i386/lilo-22.7.2/lilo -C package/lilo/bdlilo.conf
+sudo build_i386/lilo-22.8/lilo -C package/lilo/bdlilo.conf
sudo umount mount
echo releasing $LOOPDEV
sudo losetup -d $LOOPDEV