| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 |
| 4 EAPI=2 | 4 EAPI=2 |
| 5 | 5 |
| 6 inherit cros-workon toolchain-funcs | 6 inherit cros-workon toolchain-funcs |
| 7 | 7 |
| 8 DESCRIPTION="Upstart init scripts for Chromium OS" | 8 DESCRIPTION="Upstart init scripts for Chromium OS" |
| 9 HOMEPAGE="http://src.chromium.org" | 9 HOMEPAGE="http://src.chromium.org" |
| 10 SRC_URI="" | 10 SRC_URI="" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 dosbin "${S}/chromeos-cleanup-disk" | 56 dosbin "${S}/chromeos-cleanup-disk" |
| 57 exeinto /etc/cron.hourly | 57 exeinto /etc/cron.hourly |
| 58 doexe "${S}/cleanup-disk.hourly" | 58 doexe "${S}/cleanup-disk.hourly" |
| 59 | 59 |
| 60 # Install log cleaning script and run it daily. | 60 # Install log cleaning script and run it daily. |
| 61 into /usr | 61 into /usr |
| 62 dosbin "${S}/chromeos-cleanup-logs" | 62 dosbin "${S}/chromeos-cleanup-logs" |
| 63 exeinto /etc/cron.daily | 63 exeinto /etc/cron.daily |
| 64 doexe "${S}/cleanup-logs.daily" | 64 doexe "${S}/cleanup-logs.daily" |
| 65 | 65 |
| 66 # Install lightup_screen |
| 67 into /usr |
| 68 dosbin "${S}/lightup_screen" |
| 69 |
| 66 # Preseed /lib/chromiumos/devices which is by chromeos_startup to | 70 # Preseed /lib/chromiumos/devices which is by chromeos_startup to |
| 67 # populate /dev with enough devices to be able to do early init and | 71 # populate /dev with enough devices to be able to do early init and |
| 68 # start the X server. | 72 # start the X server. |
| 69 # TODO: Evaluate devtmpfs when we start using kernel 2.6.32. | 73 # TODO: Evaluate devtmpfs when we start using kernel 2.6.32. |
| 70 DEVICES_DIR="/lib/chromiumos/devices" | 74 DEVICES_DIR="/lib/chromiumos/devices" |
| 71 dodir "$DEVICES_DIR" | 75 dodir "$DEVICES_DIR" |
| 72 dodir "${DEVICES_DIR}/dri" | 76 dodir "${DEVICES_DIR}/dri" |
| 73 dodir "${DEVICES_DIR}/input" | 77 dodir "${DEVICES_DIR}/input" |
| 74 keepdir "${DEVICES_DIR}/pts" | 78 keepdir "${DEVICES_DIR}/pts" |
| 75 keepdir "${DEVICES_DIR}/shm" | 79 keepdir "${DEVICES_DIR}/shm" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 mknod --mode=0660 "${D}/${DEVICES_DIR}/dri/card0" c 226 0 | 119 mknod --mode=0660 "${D}/${DEVICES_DIR}/dri/card0" c 226 0 |
| 116 mknod --mode=0660 "${D}/${DEVICES_DIR}/tpm" c 10 224 | 120 mknod --mode=0660 "${D}/${DEVICES_DIR}/tpm" c 10 224 |
| 117 chown root.tty "${D}/${DEVICES_DIR}"/tty* | 121 chown root.tty "${D}/${DEVICES_DIR}"/tty* |
| 118 chown root.kmem "${D}/${DEVICES_DIR}"/mem | 122 chown root.kmem "${D}/${DEVICES_DIR}"/mem |
| 119 chown root.disk "${D}/${DEVICES_DIR}"/sda* | 123 chown root.disk "${D}/${DEVICES_DIR}"/sda* |
| 120 chown root.disk "${D}/${DEVICES_DIR}"/dm-0 | 124 chown root.disk "${D}/${DEVICES_DIR}"/dm-0 |
| 121 chown root.video "${D}/${DEVICES_DIR}"/fb0 | 125 chown root.video "${D}/${DEVICES_DIR}"/fb0 |
| 122 chown root.video "${D}/${DEVICES_DIR}"/dri/card0 | 126 chown root.video "${D}/${DEVICES_DIR}"/dri/card0 |
| 123 chown root.tss "${D}/${DEVICES_DIR}/tpm" | 127 chown root.tss "${D}/${DEVICES_DIR}/tpm" |
| 124 } | 128 } |
| OLD | NEW |