[examples] add more example scripts
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "REMASTER INNER CHROOT SCRIPT"
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "REMASTER INNER CHROOT SCRIPT AFTER"
|
||||
|
||||
# touch /etc/asound.state
|
||||
touch /etc/asound.state
|
||||
|
||||
rm -f "/usr/share/applications/vmware-user.desktop"
|
||||
rm -f "/etc/skel/Desktop/WorldOfGooDemo-world-of-goo-demo.desktop"
|
||||
|
||||
echo -5 | etc-update
|
||||
mount -t proc proc /proc
|
||||
|
||||
eselect opengl set xorg-x11
|
||||
|
||||
env-update
|
||||
/lib/rc/bin/rc-depend -u
|
||||
equo database vacuum
|
||||
|
||||
# Generate openrc cache
|
||||
/etc/init.d/savecache start
|
||||
/etc/init.d/savecache zap
|
||||
|
||||
equo deptest --pretend
|
||||
emaint --fix world
|
||||
|
||||
ldconfig
|
||||
umount /proc
|
||||
|
||||
# EXPERIMENTAL, clean icon cache files
|
||||
for file in `find /usr/share/icons -name "icon-theme.cache"`; do
|
||||
rm $file
|
||||
done
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
PKGS_DIR="/sabayon/remaster/pkgs"
|
||||
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/packages"
|
||||
|
||||
echo "Umounting packages over"
|
||||
umount "${CHROOT_DIR}/dev"
|
||||
umount "${CHROOT_PKGS_DIR}" || exit 1
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
PKGS_DIR="/sabayon/remaster/pkgs"
|
||||
CHROOT_PKGS_DIR="${CHROOT_DIR}/var/lib/entropy/packages"
|
||||
|
||||
[[ ! -d "${PKGS_DIR}" ]] && mkdir -p "${PKGS_DIR}"
|
||||
[[ ! -d "${CHROOT_PKGS_DIR}" ]] && mkdir -p "${CHROOT_PKGS_DIR}"
|
||||
|
||||
echo "Mounting packages over"
|
||||
mount --bind "${PKGS_DIR}" "${CHROOT_PKGS_DIR}" || exit 1
|
||||
mount --bind "/dev" "${CHROOT_DIR}/dev"
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Setup Gaming Edition string in ISOLINUX stuff
|
||||
sed -i 's/5.1/5.1 Gaming/g' "${CDROOT_DIR}/isolinux/isolinux.cfg"
|
||||
sed -i 's/5.1/5.1 Gaming/g' "${CDROOT_DIR}/isolinux/isolinux.txt"
|
||||
Reference in New Issue
Block a user