summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/efl.bbclass11
-rw-r--r--packages/altboot/altboot.bb2
-rw-r--r--packages/altboot/files/akita/altboot-2.4.cfg1
-rw-r--r--packages/altboot/files/akita/altboot-2.6.cfg1
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick1
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS2
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/60-orig-init1
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/70-install-tgz53
-rw-r--r--packages/altboot/files/init.altboot8
-rw-r--r--packages/altboot/files/spitz/altboot-2.4.cfg1
-rw-r--r--packages/e17/e17-gpe-menu-convert_0.2.bb2
-rw-r--r--packages/efl/edb_1.0.5.005.bb2
-rw-r--r--packages/efl/embryo_0.9.1.023.bb2
13 files changed, 58 insertions, 29 deletions
diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index 078f874520..4762825e2e 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -73,8 +73,9 @@ do_stage_append () {
fi
}
-PACKAGES = "${PN} ${PN}-themes ${PN}-dev ${PN}-examples"
-FILES_${PN} = "${libdir}/lib*.so*"
-FILES_${PN}-themes = "${datadir}/${PN}/themes ${datadir}/${PN}/data ${datadir}/${PN}/fonts ${datadir}/${PN}/pointers ${datadir}/${PN}/images ${datadir}/${PN}/users ${datadir}/${PN}/images ${datadir}/${PN}/styles"
-FILES_${PN}-dev = "${bindir}/${PN}-config ${libdir}/pkgconfig ${libdir}/lib*.?a ${libdir}/lib*.a"
-FILES_${PN}-examples = "${bindir} ${datadir}"
+PACKAGES = "${SRCNAME} ${SRCNAME}-themes ${SRCNAME}-dev ${SRCNAME}-examples "
+FILES_${SRCNAME} = "${libdir}/lib*.so*"
+FILES_${SRCNAME}-themes = "${datadir}/${SRCNAME}/themes ${datadir}/${SRCNAME}/data ${datadir}/${SRCNAME}/fonts ${datadir}/${SRCNAME}/pointers ${datadir}/${SRCNAME}/images ${datadir}/${SRCNAME}/users ${datadir}/${SRCNAME}/images ${datadir}/${SRCNAME}/styles"
+FILES_${SRCNAME}-dev += "${bindir}/${SRCNAME}-config ${libdir}/pkgconfig ${libdir}/lib*.?a ${datadir}/${SRCNAME}/include"
+FILES_${SRCNAME}-examples = "${bindir} ${datadir}"
+
diff --git a/packages/altboot/altboot.bb b/packages/altboot/altboot.bb
index ef87e880c9..ce586f6f4b 100644
--- a/packages/altboot/altboot.bb
+++ b/packages/altboot/altboot.bb
@@ -6,7 +6,7 @@ MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
LICENSE = "GPL"
IGNORE_STRIP_ERRORS = "1"
-PR = "r19"
+PR = "r20"
SRC_URI = "file://altboot-menu \
diff --git a/packages/altboot/files/akita/altboot-2.4.cfg b/packages/altboot/files/akita/altboot-2.4.cfg
index 9175cb1b06..8c404d4768 100644
--- a/packages/altboot/files/akita/altboot-2.4.cfg
+++ b/packages/altboot/files/akita/altboot-2.4.cfg
@@ -13,6 +13,7 @@ FSCK_IMAGES="yes"
SD_DEVICE="/dev/mmcda1"
SD_KERNEL_MODULE="/lib/modules/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o"
+USB_HOST_AVAILABLE="yes"
USB_STORAGE_MODULES="usb_ohci_pxa27x usb-storage"
USB_STORAGE_PARTITION="/dev/sda1"
USB_STORAGE_WAIT="4"
diff --git a/packages/altboot/files/akita/altboot-2.6.cfg b/packages/altboot/files/akita/altboot-2.6.cfg
index ad15f7169e..42f0968134 100644
--- a/packages/altboot/files/akita/altboot-2.6.cfg
+++ b/packages/altboot/files/akita/altboot-2.6.cfg
@@ -13,6 +13,7 @@ FSCK_IMAGES="yes"
SD_DEVICE="/dev/mmcblk0p1"
SD_KERNEL_MODULE=""
+USB_HOST_AVAILABLE="no"
USB_STORAGE_MODULES="usb_ohci_pxa27x usb-storage"
USB_STORAGE_PARTITION="/dev/sda1"
USB_STORAGE_WAIT="4"
diff --git a/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick b/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
index 3ef17764d0..c5222800e5 100644
--- a/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
+++ b/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
@@ -7,6 +7,7 @@
M_TITLE="Boot USB Storage"
+test "$USB_HOST_AVAILABLE" = "yes" || exit 0
die() {
echo "ERROR: $1" >/dev/tty0
exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1
diff --git a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
index 818a93943d..cf1d1da8e6 100644
--- a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
+++ b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
@@ -116,7 +116,7 @@ run_module() {
# Use configured resolv.conf in the pivoted rootfs
echo -n "Copying resolv.conf..."
- cp /etc/resolv.conf /media/nfsroot/etc >/dev/null 2>&1 && echo ok || echo "FAILED"
+ cp /etc/resolv.conf /media/nfsroot/etc && echo ok || echo "FAILED"
check_target "/media/nfsroot"
diff --git a/packages/altboot/files/altboot-menu/Advanced/60-orig-init b/packages/altboot/files/altboot-menu/Advanced/60-orig-init
index 9f4ff78388..ad9f2c78e1 100644
--- a/packages/altboot/files/altboot-menu/Advanced/60-orig-init
+++ b/packages/altboot/files/altboot-menu/Advanced/60-orig-init
@@ -1,6 +1,7 @@
# !/bin/sh
M_TITLE="Boot original INIT"
+exit 0
run_module() {
diff --git a/packages/altboot/files/altboot-menu/Advanced/70-install-tgz b/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
index acf148efb3..2ff380418d 100644
--- a/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
+++ b/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
@@ -2,10 +2,10 @@
M_TITLE="Install RootFS from tar.gz"
-die() {
- echo "ERROR: $1" >/dev/tty0
- exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1
-}
+# die() {
+# echo "ERROR: $1" >/dev/tty0
+# exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1
+# }
run_module(){
test -e /etc/altboot.func && . /etc/altboot.func || die "ERROR: /etc/altboot.func not found. Check your installation!"
@@ -56,9 +56,9 @@ run_module(){
esac
done
- echo -e "\nPlease choose the method of this installation:\n"
+ echo -e "\nPlease choose the type of this installation:\n"
- echo -e "\t [1] ImageFile (loopfile)"
+ echo -e "\t [1] Imagefile (loopfile)"
echo -e "\t [2] Direct Install"
echo ""
@@ -145,21 +145,40 @@ install_rootfs_image(){
read junk
if test -n "$junk"
- then
- echo -n "Use [$junk] as name? [Y|n] "
- read junk2
-
- case "$junk2" in
- "Y"|"y"|"") rootfs_image_name="${junk}-rootfs.bin"
- break ;;
- *) echo "err ]$junk]";;
- esac
+ then
+ if test -e "$1/boot-images/${junk}-rootfs.bin"
+ then
+ echo -e "\nFile [$1/boot-images/${junk}-rootfs.bin] already exists."
+
+ while true
+ do
+ echo -n "Overwrite? [N|y] "
+ read junk2
+
+ case "$junk2" in
+ Y|y) break;;
+ n|N|"") install_rootfs_image "$1"
+ exit 0;;
+ esac
+ done
+ rootfs_image_name="${junk}-rootfs.bin"
+ break
+ else
+ echo -n "Use [$junk] as name? [Y|n] "
+ read junk2
+
+ case "$junk2" in
+ "Y"|"y"|"") rootfs_image_name="${junk}-rootfs.bin"
+ break ;;
+ *) echo "err ]$junk]";;
+ esac
+ fi
fi
done
echo ""
echo "Please enter the image size in MegaBytes"
- echo "Must be at least 50Mb"
+ echo "Must be at least 30Mb"
echo ""
while true
@@ -194,7 +213,7 @@ install_rootfs_image(){
echo "Please wait..."
mkdir -p "$1/boot-images"
- ! test -e "$1/boot-images/$rootfs_image_name" && dd if=/dev/zero of="$1/boot-images/$rootfs_image_name" bs=1024k count=$rootfs_image_size >/dev/null
+ dd if=/dev/zero of="$1/boot-images/$rootfs_image_name" bs=1024k count=$rootfs_image_size >/dev/null
echo -n "Creating an ext2 filesystem on $rootfs_image_name..."
losetup /dev/loop0 "$1/boot-images/$rootfs_image_name" || die "losetup /dev/loop0 \"$1/boot-images/$rootfs_image_name\" failed!"
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot
index eb321ad456..2ba6f654b5 100644
--- a/packages/altboot/files/init.altboot
+++ b/packages/altboot/files/init.altboot
@@ -33,7 +33,11 @@ C_RESET="\033[0m"
die() {
echo "ERROR: $1" >/dev/tty0
- exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1
+ #exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1
+
+ echo -e "\nPress <ENTER> to launch the altboot menu"
+ read junk
+ exec /sbin/init.altboot -force</dev/tty0 >/dev/tty0 2>&1
}
@@ -300,7 +304,7 @@ else
# When started with -force, always print the menu
- echo "$*" | grep -q "-force" && TIMEOUT=0
+ echo "$*" | grep -q -- "-force" && TIMEOUT=0
# This timeout works by reading /proc/interrupts to see if the keyboard interrupt
diff --git a/packages/altboot/files/spitz/altboot-2.4.cfg b/packages/altboot/files/spitz/altboot-2.4.cfg
index 7a161b7a9c..3c8abc9bae 100644
--- a/packages/altboot/files/spitz/altboot-2.4.cfg
+++ b/packages/altboot/files/spitz/altboot-2.4.cfg
@@ -14,6 +14,7 @@ FSCK_IMAGES="yes"
SD_DEVICE="/dev/mmcda1"
SD_KERNEL_MODULE="/media/hdd/lib/modules/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o"
+USB_HOST_AVAILABLE="yes"
USB_STORAGE_MODULES="usb_ohci_pxa27x usb-storage"
USB_STORAGE_PARTITION="/dev/sda1"
USB_STORAGE_WAIT="4"
diff --git a/packages/e17/e17-gpe-menu-convert_0.2.bb b/packages/e17/e17-gpe-menu-convert_0.2.bb
index d79a501884..88eefa774e 100644
--- a/packages/e17/e17-gpe-menu-convert_0.2.bb
+++ b/packages/e17/e17-gpe-menu-convert_0.2.bb
@@ -15,4 +15,4 @@ do_install() {
#pkg_postinst() {
# /usr/bin/e17-gpe-menu-convert.sh
-#} \ No newline at end of file
+#}
diff --git a/packages/efl/edb_1.0.5.005.bb b/packages/efl/edb_1.0.5.005.bb
index 6f771fb0de..a152530b47 100644
--- a/packages/efl/edb_1.0.5.005.bb
+++ b/packages/efl/edb_1.0.5.005.bb
@@ -10,4 +10,4 @@ EXTRA_OECONF += "--disable-gtk"
libdirectory = "src"
-FILES_${PN}-examples = ""
+FILES_${PN}-examples = "" \ No newline at end of file
diff --git a/packages/efl/embryo_0.9.1.023.bb b/packages/efl/embryo_0.9.1.023.bb
index 65345eff94..0009c0a149 100644
--- a/packages/efl/embryo_0.9.1.023.bb
+++ b/packages/efl/embryo_0.9.1.023.bb
@@ -8,4 +8,4 @@ PR = "r4"
inherit efl
-FILES_${PN}-examples = "${datadir}/${PN}/examples"
+FILES_${PN}-examples = "${datadir}/${PN}/examples" \ No newline at end of file