-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sian Cao
committed
May 9, 2014
1 parent
5ccb65b
commit 963a3f6
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/ash | ||
|
||
run_hook() { | ||
prometheus -m text | ||
} | ||
|
||
# vim: set ft=sh: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
build() { | ||
add_file /usr/share/fonts/microsoft/msyh.ttf | ||
add_file /usr/lib/locale/locale-archive | ||
|
||
add_binary /usr/lib/xorg/modules/dri/i915_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/i965_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/nouveau_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/nouveau_vieux_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/r200_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/r300_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/r600_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/radeon_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/radeonsi_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/swrast_dri.so | ||
add_binary /usr/lib/xorg/modules/dri/vmwgfx_dri.so | ||
|
||
add_binary /usr/sbin/prometheus | ||
add_binary /usr/lib/egl/egl_gallium.so | ||
add_binary /usr/lib/gbm/gbm_gallium_drm.so | ||
add_runscript | ||
} | ||
|
||
help() { | ||
echo "This hook includes prometheus in the initramfs image." | ||
} | ||
|
||
# vim: set ft=sh: | ||
|