New additions.
This commit is contained in:
parent
491e24b8f9
commit
adaeca9e84
|
|
@ -0,0 +1,23 @@
|
|||
apt-get install bmap-tools
|
||||
|
||||
# FIXME
|
||||
# create function for ''bmap-tool create' that fixes the zfs_dmu_offset_next_sync issue
|
||||
|
||||
#function bmapcreate() {
|
||||
# echo 1 | sudo tee -a /sys/module/zfs/parameters/zfs_dmu_offset_next_sync
|
||||
#
|
||||
# BMAPFILE=$1
|
||||
# IMAGE=$2
|
||||
## test the extension to see if we need to decompress before creating the bmap
|
||||
# if [ ${IMAGE:e} = 'xz']
|
||||
# bmaptool create --output mobian-pinephone-20200905.img.bmap mobian-pinephone-20200905.img
|
||||
# bmaptool create --output $BMAPFILE $IMAGE
|
||||
#
|
||||
# echo 0 | sudo tee -a /sys/module/zfs/parameters/zfs_dmu_offset_next_sync
|
||||
#}
|
||||
|
||||
|
||||
#function bmapcopy() {
|
||||
# bmaptool copy --bmap $BMAPFILE $IMAGE $BLOCKDEVICE
|
||||
#}
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
apt-get -y install kicad kicad-libraries kicad-symbols kicad-footprints kicad-templates kicad-demos kicad-packages3d
|
||||
Binary file not shown.
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
url: http://extrepo-team.pages.debian.net/extrepo-data
|
||||
dist: debian
|
||||
version: bullseye
|
||||
# To enable repositories that host software with non-DFSG-free licenses,
|
||||
# # uncomment "contrib" and/or "non-free" in the list below.
|
||||
enabled_policies:
|
||||
- main
|
||||
# - contrib
|
||||
# - non-free
|
||||
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
CONFIG_FILE=./config.yaml
|
||||
PATTERN1="contrib"
|
||||
PATTERN2="non-free"
|
||||
|
||||
cat ${CONFIG_FILE}
|
||||
|
||||
echo "Uncomment:"
|
||||
echo "PATTERN1: sed -i \"/${PATTERN1}/s/^#.//g\" ${CONFIG_FILE}"
|
||||
sed -i "/${PATTERN1}/s/^#.//g" ${CONFIG_FILE} # (to uncomment)
|
||||
|
||||
echo "PATTERN2: sed -i \"/${PATTERN2}/s/^#.//g\" ${CONFIG_FILE}"
|
||||
sed -i "/${PATTERN2}/s/^#.//g" ${CONFIG_FILE} # (to uncomment)
|
||||
|
||||
cat ${CONFIG_FILE}
|
||||
|
||||
echo "Comment:"
|
||||
echo "sed -i \"/${PATTERN1}/s/^/# /g" ${CONFIG_FILE}\" # (to comment)
|
||||
sed -i "/${PATTERN1}/s/^/# /g" ${CONFIG_FILE} # (to comment)
|
||||
|
||||
echo "sed -i \"/${PATTERN2}/s/^/# /g" ${CONFIG_FILE}\" # (to comment)
|
||||
sed -i "/${PATTERN2}/s/^/# /g" ${CONFIG_FILE} # (to comment)
|
||||
|
||||
cat ${CONFIG_FILE}
|
||||
Loading…
Reference in New Issue