Rev 31 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 31 | Rev 32 | ||
|---|---|---|---|
| Line 109... | Line 109... | ||
| 109 | :no_network |
109 | :no_network |
| 110 | rem // if we reach here, it means package installation from the network failed. Stop being nice and stuff them up Linux's ass with maximal pain from local storage. |
110 | rem // if we reach here, it means package installation from the network failed. Stop being nice and stuff them up Linux's ass with maximal pain from local storage. |
| 111 | echo Looks like the network is unavailable. Nevermind the bollocks. |
111 | echo Looks like the network is unavailable. Nevermind the bollocks. |
| 112 | echo Installing all the necessary packages at once... |
112 | echo Installing all the necessary packages at once... |
| 113 | wsl --distribution %WSL_DISTR% sudo dpkg -i "../../Third-party software/%WSL_DISTR:-= % Debian packages for WSL2/"*.deb || ( |
113 | wsl --distribution %WSL_DISTR% sudo dpkg -i "../../Third-party software/%WSL_DISTR:-= % Debian packages for WSL2/"*.deb || ( |
| - | 114 | rem // does it hurt, biatch? Hold on, I'll add some gravel. |
|
| - | 115 | wsl --distribution %WSL_DISTR% sudo dpkg -i --force-downgrade --force-configure-any --force-hold --force-remove-reinstreq --force-remove-essential --force-depends --force-depends-version --force-breaks --force-conflicts --force-confmiss --force-confnew --force-confdef --force-overwrite --force-overwrite-dir --force-overwrite-diverted --force-statoverride-add --force-statoverride-remove --force-bad-version --force-bad-verify "../../Third-party software/%WSL_DISTR:-= % Debian packages for WSL2/"*.deb || ( |
|
| 114 | echo. |
116 | echo. |
| 115 | echo Error: the required Linux tools %REQUIRED_TOOLS% can't be installed. |
117 | echo Error: the required Linux tools %REQUIRED_TOOLS% can't be installed. |
| 116 | goto :exit_error |
118 | goto :exit_error |
| - | 119 | ) |
|
| 117 | ) |
120 | ) |
| 118 |
|
121 | echo This penguin looks much better now. |
| 119 | rem // nuff said. |
- | |
| 120 | - | ||
| 121 | :packages_installed |
122 | :packages_installed |
| 122 | 123 | ||
| 123 | rem // setup the QNX SDP on the WSL side |
124 | rem // setup the QNX SDP on the WSL side |
| 124 | 125 | ||
| 125 | rem // The build script initially recursively transferred the contents of $QNX_HOST and $QNX_TARGET to the WSL2 ext4 partition |
126 | rem // The build script initially recursively transferred the contents of $QNX_HOST and $QNX_TARGET to the WSL2 ext4 partition |