Enter the machine using adb shell
Run cat /proc/partitions
# Path Purpose Size
0 /dev/block/mmcblk0 7761920
1 /dev/block/mmcblk0p1 data 6085631
// Disable CPU idle states using PM QoS framework | |
// | |
// Directly related: | |
// https://github.com/torvalds/linux/blob/master/Documentation/power/pm_qos_interface.txt | |
// https://lwn.net/Articles/465195/ | |
// https://access.redhat.com/articles/65410 | |
// | |
// Network: | |
// https://elinux.org/images/f/f9/Elc2008_pm_qos_slides.pdf | |
// |
#!/usr/bin/env bash | |
if [ -f build-settings.sh ]; then | |
source build-settings.sh | |
else | |
echo "ERROR! Could not source build-settings.sh." | |
exit 1 | |
fi | |
SEED_DIR="/var/lib/snapd/seed" |
#!/bin/bash -ex | |
# Build a new Centos8 install on EBS volume in a chroot | |
# Run from RHEL8 or CentOS8 instance - eg: ami-0c322300a1dd5dc79 in us-east-1 (RHEL 8 official image) | |
# Script expects a second EBS volume, I add them as /dev/sdf in the console | |
# When the script completes, turn the second EBS volume into your new AMI through the console. | |
# Adjust the section below to match the device names you're using. Defaults are for an m5.large | |
# m5 series requires the updated device names |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<keyboard group="0" id="4711" name="Win DE" maxout="1"> | |
<layouts> | |
<layout first="0" last="17" modifiers="Modifiers" mapSet="ANSI"/> | |
<layout first="18" last="18" modifiers="Modifiers" mapSet="JIS"/> | |
<layout first="21" last="23" modifiers="Modifiers" mapSet="JIS"/> | |
<layout first="30" last="30" modifiers="Modifiers" mapSet="JIS"/> | |
<layout first="33" last="33" modifiers="Modifiers" mapSet="JIS"/> | |
<layout first="36" last="36" modifiers="Modifiers" mapSet="JIS"/> |