Initial commit
This commit is contained in:
14
recipes-core/base-files/base-files_%.bbappend
Normal file
14
recipes-core/base-files/base-files_%.bbappend
Normal file
@@ -0,0 +1,14 @@
|
||||
hostname = "diya"
|
||||
|
||||
do_install:append () {
|
||||
cat << 'EOF' >> "${D}${sysconfdir}/profile"
|
||||
export DISK="mmcblk1"
|
||||
EOF
|
||||
cat << EOF >> "${D}${sysconfdir}/modules"
|
||||
sprdwl_ng
|
||||
sprdbt_tty
|
||||
bluetooth
|
||||
hci_uart
|
||||
rfcomm
|
||||
EOF
|
||||
}
|
2
recipes-core/images/core-image-base.bbappend
Normal file
2
recipes-core/images/core-image-base.bbappend
Normal file
@@ -0,0 +1,2 @@
|
||||
# IMAGE_BOOT_FILES:append:pinephone = " boot.scr ${KERNEL_DEVICETREE} allwinner/overlay/sun50i-h616-fixup.scr "
|
||||
IMAGE_INSTALL:append:pinephone = " pinephone-firmware "
|
7
recipes-core/images/core-image-recovery.bbapend
Normal file
7
recipes-core/images/core-image-recovery.bbapend
Normal file
@@ -0,0 +1,7 @@
|
||||
image_patch:append () {
|
||||
# create /etc/fstab
|
||||
cat << EOF > ${IMAGE_ROOTFS}/etc/fstab
|
||||
/dev/mmcblk1p1 /boot auto defaults 0 0
|
||||
/dev/mmcblk1p4 /home auto defaults 0 0
|
||||
EOF
|
||||
}
|
Reference in New Issue
Block a user