Use fdisk -l to view current device info. Use gdisk to create partitions.
三个分区:
- EFI分区 (ef00)
- / 根分区
- /home 分区
bundle exec rails new ~/code/sitebuilder --javascript=esbuild --css=tailwind --dev --database=postgresql --skip-action-mailbox
| #!/usr/bin/env bash | |
| # inspired by | |
| # https://gist.github.com/JannikArndt/feb720c1f5d210b4820b880af23f2a07 | |
| # which was inspired by | |
| # https://github.com/fwartner/mac-cleanup/blob/master/cleanup.sh | |
| # https://gist.github.com/jamesrampton/4503412 | |
| # https://github.com/mengfeng/clean-my-mac/blob/master/clean_my_mac.sh | |
| # https://github.com/szymonkaliski/Dotfiles/blob/master/Scripts/clean-my-mac | |
| # http://brettterpstra.com/2015/10/27/vacuuming-mail-dot-app-on-el-capitan/ / https://github.com/pbihq/tools/blob/master/MailDBOptimiser.sh |
This is unexpected, as it geneated post model into admin namespace.
./bin/rails generate admin/post title context:text
Solution:
./bin/rails generate model Post title context:text
./bin/rails g scaffold_controller Admin::Post title context:text --model-name=Post --no-jbuilder
| qichunren@qichunren-VirtualBox:~/Desktop/v1.1$ ./build.sh | |
| ========ACTION List: build_linuxdev;======== | |
| options : | |
| INFO: ---------------------------------------- | |
| INFO: build linuxdev ... | |
| INFO: chip: sun8iw20p1 | |
| INFO: platform: linux | |
| INFO: kernel: linux-5.4 | |
| INFO: board: dev | |
| INFO: output: /home/qichunren/Desktop/v1.1/out/t113/dev/buildroot |
| ruby@ruby-VirtualBox:~/code/t113-tina$ docker compose run b | |
| [+] Building 0.0s (0/0) | |
| [+] Building 0.0s (0/0) | |
| builder@b775dd81fe0d:/app$ source build/envsetup.sh | |
| Setup env done! Please run lunch next. | |
| builder@b775dd81fe0d:/app$ lunch | |
| You're building on Linux | |
| Lunch menu... pick a combo: |
| [88]HELLO! BOOT0 is starting! | |
| [90]BOOT0 commit : 1417090655 | |
| [93]set pll start | |
| [95]fix vccio detect value:0xc0 | |
| [102]periph0 has been enabled | |
| [105]set pll end | |
| [107][pmu]: bus read error | |
| [109]board init ok | |
| [111]enable_jtag | |
| [113]ZQ value = 0x2f |
| [89]HELLO! BOOT0 is starting! | |
| [92]BOOT0 commit : 1417090655 | |
| [95]set pll start | |
| [96]fix vccio detect value:0xc0 | |
| [104]periph0 has been enabled | |
| [107]set pll end | |
| [108][pmu]: bus read error | |
| [111]board init ok | |
| [113]enable_jtag |
| Package kmod-mac80211 is missing dependencies for the following libraries: | |
| cfg80211.ko | |
| compat.ko | |
| Makefile:528: recipe for target '/home/qichunren/data/t113-tina-5.0/out/t113/dev2/openwrt/extra/targets/t113-dev2/generic/packages/kmod-mac80211_5.4.182+5.10.85-1-1_arm_cortex-a7_neon.ipk' failed | |
| make[3]: *** [/home/qichunren/data/t113-tina-5.0/out/t113/dev2/openwrt/extra/targets/t113-dev2/generic/packages/kmod-mac80211_5.4.182+5.10.85-1-1_arm_cortex-a7_neon.ipk] Error 1 | |
| make[3]: Leaving directory '/data/t113-tina-5.0/openwrt/openwrt/package/kernel/mac80211' | |
| time: package/kernel/mac80211/regular/compile#0.30#0.06#0.73 | |
| ERROR: package/kernel/mac80211 failed to build (build variant: regular). | |
| package/Makefile:114: recipe for target 'package/kernel/mac80211/compile' failed | |
| make[2]: *** [package/kernel/mac80211/compile] Error 1 |
| #!/bin/bash | |
| # 源目录 | |
| source_base="/data/tian5.0he/T113-tina5.0" | |
| # 目标目录 | |
| target_base="/home/qichunren/code/T113-S3-Box-SDK" | |
| # 需要同步的目录列表 | |
| directories_to_sync=( |