Ticket #834: cross-shell.patch

File cross-shell.patch, 0.6 KB (added by EvanKroske, 5 months ago)

cross-shell now mounts local repositories mentioned in the sources.list file of the target fs (the e-reader).

Line 
156a57,75
2> # Mount every local repository in the chroot's sources.list file that doesn't
3> # exist in the chroot file system.
4>
5> # All the local repositories mentioned in chroot's sources.list file
6>
7> for local_repo in $local_repos; do
8>     
9>     # If the directory doesn't exist in the chroot file system
10>     if [ ! -e "$WHERE$local_repo" ]; then
11>         
12>         # If the directory does exist in the exterior file system
13>         if [ -d "$local_repo" ]; then
14>             
15>             # Make a mount dir and mount the exterior repository dir to it
16>             try_mount_repo "$WHERE" "$local_repo"
17>         fi
18>     fi
19> done
20>