From 1ef1f57513e4e0089443c071d9fb3faece14cc12 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 7 May 2020 09:29:54 -0400 Subject: [PATCH 1/3] Add fsck to 'uu' alias --- .shell_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shell_aliases b/.shell_aliases index bfc3db0..1c4a234 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -27,7 +27,7 @@ alias termrc='vim ~/.config/xfce4/terminal/terminalrc' # Use `bb` and `uu` to build and apply bpi kernel changes alias bb="echo '\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n' && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./bbuild.sh 3 && cd -" alias qbb="echo '\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n' && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./bbuild.sh 3 && cd -" -alias uu="cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./update_sd.sh /dev/sde && cd -" +alias uu="fsck.ext4 -p /dev/sde2 && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./update_sd.sh /dev/sde && cd -" # Use `grepr` for a recursive, case-insensitive, and filtered grep # alias grepr="grep -RInsi --color=auto --exclude-dir=.git --exclude=tags" From 23a80c819eccd089c5836a068f8101e3cf4c9fe1 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 7 May 2020 09:31:39 -0400 Subject: [PATCH 2/3] Add sudo to fsck --- .shell_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shell_aliases b/.shell_aliases index 2709461..504050a 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -27,7 +27,7 @@ alias termrc='vim ~/.config/xfce4/terminal/terminalrc' # Use `bb` and `uu` to build and apply bpi kernel changes alias bb="echo '\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n' && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./bbuild.sh 3 && cd -" alias qbb="echo '\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n' && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./bbuild.sh 3 && cd -" -alias uu="fsck.ext4 -p /dev/sde2 && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./update_sd.sh /dev/sde && cd -" +alias uu="sudo fsck.ext4 -p /dev/sde2 && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./update_sd.sh /dev/sde && cd -" # Use `grepr` for a recursive, case-insensitive, and filtered grep # alias grepr="grep -RInsi --color=auto --exclude-dir=.git --exclude=tags" From edeabfb57bf64d465e6e7b623ad49a4ce150ce09 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 7 May 2020 09:32:38 -0400 Subject: [PATCH 3/3] Change uu to always run after fsck --- .shell_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shell_aliases b/.shell_aliases index 504050a..5b3d7b9 100644 --- a/.shell_aliases +++ b/.shell_aliases @@ -27,7 +27,7 @@ alias termrc='vim ~/.config/xfce4/terminal/terminalrc' # Use `bb` and `uu` to build and apply bpi kernel changes alias bb="echo '\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n' && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./bbuild.sh 3 && cd -" alias qbb="echo '\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n' && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./bbuild.sh 3 && cd -" -alias uu="sudo fsck.ext4 -p /dev/sde2 && cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./update_sd.sh /dev/sde && cd -" +alias uu="sudo fsck.ext4 -p /dev/sde2; cd ~/Desktop/Griffin/bpi_build_scripts/ && sudo ./update_sd.sh /dev/sde && cd -" # Use `grepr` for a recursive, case-insensitive, and filtered grep # alias grepr="grep -RInsi --color=auto --exclude-dir=.git --exclude=tags"