1 |
commit: 6a2a582715ac05a486a9c82b4d52f4ca5fc4a78f |
2 |
Author: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> |
3 |
AuthorDate: Tue Aug 2 00:27:47 2011 +0000 |
4 |
Commit: Liam McLoughlin <hexxeh <AT> hexxeh <DOT> net> |
5 |
CommitDate: Tue Aug 2 00:27:47 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoaster.git;a=commit;h=6a2a5827 |
7 |
|
8 |
Add more drivers to XFCE config, fix some cachedkernel logic |
9 |
|
10 |
--- |
11 |
configs/xfce.ini | 2 +- |
12 |
create_image.sh | 13 ++++++------- |
13 |
2 files changed, 7 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/configs/xfce.ini b/configs/xfce.ini |
16 |
index 1173228..6c249ee 100644 |
17 |
--- a/configs/xfce.ini |
18 |
+++ b/configs/xfce.ini |
19 |
@@ -13,5 +13,5 @@ USE_FLAGS='-gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification |
20 |
PACKAGE_USE='' |
21 |
FEATURES='parallel-fetch userfetch userpriv' |
22 |
PACKAGE_ACCEPT_KEYWORDS='' |
23 |
-PACKAGES_LIST='dhcpcd =dev-lang/python-2.6.6-r2 xorg-server xfce4-meta x11-terms/terminal firefox' |
24 |
+PACKAGES_LIST='dhcpcd =dev-lang/python-2.6.6-r2 xorg-server xfce4-meta x11-terms/terminal firefox xf86-video-cirrus xf86-input-evdev' |
25 |
OUTPUT_FORMAT='raw' |
26 |
|
27 |
diff --git a/create_image.sh b/create_image.sh |
28 |
index 9adbc8e..2da2d6f 100755 |
29 |
--- a/create_image.sh |
30 |
+++ b/create_image.sh |
31 |
@@ -206,13 +206,12 @@ linux32 chroot . rc-update add net.eth0 default &>> ${LOG_FILE} |
32 |
echo "Step 17: Setting up kernel" |
33 |
# If we got the flag, used a cached kernel to reduce build times for testing |
34 |
if [[ ${FLAGS_cachedkernel} -eq ${FLAGS_TRUE} ]]; then |
35 |
- echo "Using cached kernel" &>> ${LOG_FILE} |
36 |
- cp ${TOOL_RES_PATH}/kernel boot/kernel || handle_error "Error copying cached kernel" |
37 |
- cp -R ${TOOL_RES_PATH}/modules.tar.gz lib/modules/ || handle_error "Error copying cached kernel modules" |
38 |
- tar xvf lib/modules/modules.tar.gz -C lib/modules/ || handle_error "Error extracting cached kernel modules" |
39 |
- ROOTDIR=`pwd` |
40 |
- KERNEL=`ls -l ${ROOTDIR}/lib/modules/ | cut -d" " -f9 | tr "\n" " "` |
41 |
- linux32 chroot . depmod -a ${KERNEL} |
42 |
+ echo "Using cached kernel" &>> ${LOG_FILE} |
43 |
+ cp ${TOOL_RES_PATH}/kernel boot/kernel || handle_error "Error copying cached kernel" |
44 |
+ mkdir lib/modules && cp ${TOOL_RES_PATH}/modules.tar.gz lib/modules/ || handle_error "Error copying cached kernel modules" |
45 |
+ tar xvf lib/modules/modules.tar.gz -C lib/modules/ || handle_error "Error extracting cached kernel modules" |
46 |
+ KERNEL=`ls -l lib/modules/ | cut -d" " -f9 | tr "\n" " "` |
47 |
+ linux32 chroot . depmod -a ${KERNEL} |
48 |
else |
49 |
echo "Downloading/installing kernel sources" &>> ${LOG_FILE} |
50 |
linux32 chroot . emerge gentoo-sources &>> ${LOG_FILE} || handle_error "Error emerging kernel sources" |