mirror of
https://github.com/Augustin-FL/building-pfsense-iso-from-source.git
synced 2025-05-13 14:57:21 +00:00
rename the pfSense folder in /usr/local/share
This commit is contained in:
parent
d01979e698
commit
93e8ca4c6b
@ -28,6 +28,7 @@ You will then have to fork and apply updates to 3 repositories:
|
|||||||
- Go to the folder `/tools/templates/pkg_repos/` in the branch you would like to build (`master`for dev version, `RELENG_2_5_0` for stable version)
|
- Go to the folder `/tools/templates/pkg_repos/` in the branch you would like to build (`master`for dev version, `RELENG_2_5_0` for stable version)
|
||||||
- Change `pfSense` to `libreSense` in the file names (e.g., `pfSense-repo.abi => libreSense-repo.abi`)
|
- Change `pfSense` to `libreSense` in the file names (e.g., `pfSense-repo.abi => libreSense-repo.abi`)
|
||||||
- Edit the file `/src/etc/inc/globals.inc` : replace the content of `product_name` by your ISO name.
|
- Edit the file `/src/etc/inc/globals.inc` : replace the content of `product_name` by your ISO name.
|
||||||
|
- In the folder `/src/usr/local/share/`, rename `pfSense` to your ISO name
|
||||||
|
|
||||||
## A deeper look into Netgate build environment
|
## A deeper look into Netgate build environment
|
||||||
|
|
||||||
@ -156,7 +157,6 @@ cd pfsense
|
|||||||
git checkout ${pfSense_gui_branch}
|
git checkout ${pfSense_gui_branch}
|
||||||
|
|
||||||
# PKG signing key
|
# PKG signing key
|
||||||
mv src/usr/local/share/pfSense src/usr/local/share/${product_name}
|
|
||||||
rm src/usr/local/share/${product_name}/keys/pkg/trusted/*
|
rm src/usr/local/share/${product_name}/keys/pkg/trusted/*
|
||||||
cp /root/sign/fingerprint src/usr/local/share/${product_name}/keys/pkg/trusted/fingerprint
|
cp /root/sign/fingerprint src/usr/local/share/${product_name}/keys/pkg/trusted/fingerprint
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user