diff --git a/404.html b/404.html index d82d33d4..6bf65550 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@ SNIGDHA OS - DOCS - + diff --git a/assets/js/06ee4edd.69f7adc3.js b/assets/js/06ee4edd.9e01871c.js similarity index 74% rename from assets/js/06ee4edd.69f7adc3.js rename to assets/js/06ee4edd.9e01871c.js index 73acac0e..ad630947 100644 --- a/assets/js/06ee4edd.69f7adc3.js +++ b/assets/js/06ee4edd.9e01871c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[9886],{1472:e=>{e.exports=JSON.parse('{"title":"Developers Guide","description":"This will guide on how to contribute to Snigdha OS as developer.","slug":"/category/developers-guide","permalink":"/documentation/category/developers-guide","navigation":{"previous":{"title":"Blackbox","permalink":"/documentation/packages/snigdhaos_blackbox"},"next":{"title":"Build Snigdha OS","permalink":"/documentation/dev_guide/build_source"}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[9886],{1472:e=>{e.exports=JSON.parse('{"title":"Developers Guide","description":"This will guide on how to contribute to Snigdha OS as developer.","slug":"/category/developers-guide","permalink":"/documentation/category/developers-guide","navigation":{"previous":{"title":"Blackbox","permalink":"/documentation/packages/snigdhaos_blackbox"},"next":{"title":"Build From Source","permalink":"/documentation/dev_guide/build_source"}}}')}}]); \ No newline at end of file diff --git a/assets/js/66ee5a7d.3cbe2cce.js b/assets/js/66ee5a7d.3cbe2cce.js new file mode 100644 index 00000000..c70b3f79 --- /dev/null +++ b/assets/js/66ee5a7d.3cbe2cce.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[5890],{5843:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>r,contentTitle:()=>o,default:()=>h,frontMatter:()=>s,metadata:()=>c,toc:()=>l});var t=i(4848),a=i(8453);const s={sidebar_position:2},o="PKGBUILD Template",c={id:"dev_guide/pkgbuild",title:"PKGBUILD Template",description:"Snigdha OS has it's own PKGBUILD template for building packages. We follow the the template so that we can maintain the packages in a better way. If you are building packages for Snigdha OS, then it will be a good option to follow the PKGBUILD template.",source:"@site/docs/dev_guide/pkgbuild.md",sourceDirName:"dev_guide",slug:"/dev_guide/pkgbuild",permalink:"/documentation/dev_guide/pkgbuild",draft:!1,unlisted:!1,editUrl:"https://github.com/Snigdha-OS/documentation/tree/master/docs/dev_guide/pkgbuild.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Build From Source",permalink:"/documentation/dev_guide/build_source"},next:{title:"Generate GPG Key",permalink:"/documentation/dev_guide/gpg_key"}},r={},l=[{value:"What is PKGBUILD?",id:"what-is-pkgbuild",level:2},{value:"A simple PKGBUILD",id:"a-simple-pkgbuild",level:2},{value:"Snigdha OS PKGBUILD",id:"snigdha-os-pkgbuild",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"pkgbuild-template",children:"PKGBUILD Template"}),"\n",(0,t.jsxs)(n.p,{children:["Snigdha OS has it's own ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," template for building packages. We follow the the template so that we can maintain the packages in a better way. If you are building packages for Snigdha OS, then it will be a good option to follow the ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," template."]}),"\n",(0,t.jsx)(n.h2,{id:"what-is-pkgbuild",children:"What is PKGBUILD?"}),"\n",(0,t.jsxs)(n.p,{children:["In Arch Linux or Snigdha OS, ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," is a script used to build packages. It contains metadata about the package as well as instructions on how to compile or otherwise obtain the necessary files to create a package. ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," scripts are used with the ",(0,t.jsx)(n.code,{children:"makepkg"})," utility to create packages in the Arch Linux package format (",(0,t.jsx)(n.code,{children:".pkg.tar.xz"}),"). But in ",(0,t.jsx)(n.strong,{children:"Snigdha OS"})," our package format will be ",(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:".pkg.tar.zst"})}),"."]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"PKGBUILD"})," typically includes information such as the package name, version, dependencies, build instructions, and optional parameters. They allow users to easily create custom packages from source code or other files, which can then be installed using the package manager (",(0,t.jsx)(n.code,{children:"pacman"}),")."]}),"\n",(0,t.jsxs)(n.p,{children:["Using ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," scripts provides a standardized and reproducible way to create packages, ensuring consistency across the Arch Linux ecosystem. Additionally, the Arch User Repository (AUR) relies heavily on ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," scripts submitted by users to build and distribute packages that are not available in the official repositories. Since ",(0,t.jsx)(n.strong,{children:"Snigdha OS"})," also comes in ",(0,t.jsx)(n.strong,{children:"Arch Linux"})," ecosystem, we also rely on Arch User Repository for packages."]}),"\n",(0,t.jsx)(n.h2,{id:"a-simple-pkgbuild",children:"A simple PKGBUILD"}),"\n",(0,t.jsxs)(n.p,{children:["Writing a ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," for Arch Linux and Snigdha OS involves several key steps. Below is a basic example of a ",(0,t.jsx)(n.code,{children:"PKGBUILD"}),' for a fictitious application called "exampleapp." This example assumes that "exampleapp" is a simple Python application with a ',(0,t.jsx)(n.code,{children:"setup.py"})," file for installation."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-PKGBUILD",children:'# Maintainer: Your Name \npkgname=exampleapp\npkgver=1.0\npkgrel=1\npkgdesc="A simple example application"\narch=(\'any\')\nurl="https://example.com/exampleapp"\nlicense=(\'MIT\')\ndepends=(\'python\')\n\nsource=("https://example.com/exampleapp/exampleapp-${pkgver}.tar.gz")\n\nbuild() {\n cd "${srcdir}/exampleapp-${pkgver}"\n python setup.py build\n}\n\npackage() {\n cd "${srcdir}/exampleapp-${pkgver}"\n python setup.py install --root="${pkgdir}/" --optimize=1\n}\n\n# Checksums, uncomment these lines and provide the correct checksums:\n# sha256sums=(\'SKIP\')\n\n'})}),"\n",(0,t.jsx)(n.p,{children:"Here's a breakdown of the sections:"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Metadata"}),": This section defines metadata about the package, including its name (",(0,t.jsx)(n.code,{children:"pkgname"}),"), version (",(0,t.jsx)(n.code,{children:"pkgver"}),"), release number (",(0,t.jsx)(n.code,{children:"pkgrel"}),"), description (",(0,t.jsx)(n.code,{children:"pkgdesc"}),"), architecture (",(0,t.jsx)(n.code,{children:"arch"}),"), URL (",(0,t.jsx)(n.code,{children:"url"}),"), and license (",(0,t.jsx)(n.code,{children:"license"}),"). These fields are essential for identifying and describing the package."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Dependencies"}),": The ",(0,t.jsx)(n.code,{children:"depends"})," array lists the runtime dependencies required for the package to function correctly. You should include any libraries or packages that your application relies on."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Source"}),": The ",(0,t.jsx)(n.code,{children:"source"})," array specifies where to download the source code for the application. In this example, the source is assumed to be a tarball available at a URL. You may need to adjust this section based on the source code's location and format."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Build() function"}),": This function contains the commands needed to build the package. It typically involves navigating to the source directory (",(0,t.jsx)(n.code,{children:"${srcdir}"}),") and running build commands specific to your application. In this example, we're assuming a Python application with a ",(0,t.jsx)(n.code,{children:"setup.py"})," file, so we use ",(0,t.jsx)(n.code,{children:"python setup.py build"}),"."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Package() function"}),": This function contains the commands needed to install the package into the package directory (",(0,t.jsx)(n.code,{children:"${pkgdir}"}),"). It typically involves navigating to the source directory and running installation commands. Here, we're assuming a Python application with a ",(0,t.jsx)(n.code,{children:"setup.py"})," file, so we use ",(0,t.jsx)(n.code,{children:"python setup.py install"}),"."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Checksums"}),": Uncomment the ",(0,t.jsx)(n.code,{children:"sha256sums"})," array and provide the correct checksum for the source tarball. This ensures that the source hasn't been tampered with."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["Once you've written the ",(0,t.jsx)(n.code,{children:"PKGBUILD"}),", save it to a file named ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," and place it in a directory with the same name as the package. You can then use the ",(0,t.jsx)(n.code,{children:"makepkg"})," command to build the package:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"$ makepkg\n"})}),"\n",(0,t.jsxs)(n.p,{children:["This command will generate a ",(0,t.jsx)(n.code,{children:".pkg.tar.zst"})," file containing the built package, which you can then install using ",(0,t.jsx)(n.code,{children:"pacman"}),"."]}),"\n",(0,t.jsx)(n.h2,{id:"snigdha-os-pkgbuild",children:"Snigdha OS PKGBUILD"}),"\n",(0,t.jsx)(n.p,{children:"Here is the PKGBUILD Template we follow specifically for Snigdha OS."}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"# Maintainer: Your Name \npkgname=\norg=Snigdha-OS # The username/organization username where you upload the Source Code. \nbranch=master # Your GitHub/GitLab/Gitea repository branch. Possible values: master, main, devlopment\npkgver= # Initiate it with 1.\npkgrel= # Initiate it with 1.\npkgdesc='' # A short description of your package.\narch=('') # Possible options: any,x86_64, arm64 etc.\nurl=\"\" # Your package source code URL \nlicense=('') # Possible options: MIT, GPL, AGPL, custom\nmakedepends=('') # Dependency it install or run the package\nsource=(\"\") # The source of the package \nsha256sums=('') # checksums\ninstall=$pkgname.install # Further instuction after installing/building the package.\n\npkgver() {\n\tprintf \"r%s.%s\" \"$(git rev-list --count HEAD)\" \"$(git rev-parse --short HEAD)\"\n}\n\n# Since we maintain the package version with the github repository commit count an the last commit, we use pkgver() function.\n# It is a good option the maintain the package version. Somtimes I forgot to change the version.\n\npackage() {\n\t# Your package function goes here with instructions to build the package. \n}\n"})})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>o,x:()=>c});var t=i(6540);const a={},s=t.createContext(a);function o(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/66ee5a7d.a9301b2e.js b/assets/js/66ee5a7d.a9301b2e.js deleted file mode 100644 index b799261c..00000000 --- a/assets/js/66ee5a7d.a9301b2e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[5890],{5843:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>r,contentTitle:()=>o,default:()=>h,frontMatter:()=>s,metadata:()=>c,toc:()=>l});var t=i(4848),a=i(8453);const s={sidebar_position:2},o="PKGBUILD Template",c={id:"dev_guide/pkgbuild",title:"PKGBUILD Template",description:"Snigdha OS has it's own PKGBUILD template for building packages. We follow the the template so that we can maintain the packages in a better way. If you are building packages for Snigdha OS, then it will be a good option to follow the PKGBUILD template.",source:"@site/docs/dev_guide/pkgbuild.md",sourceDirName:"dev_guide",slug:"/dev_guide/pkgbuild",permalink:"/documentation/dev_guide/pkgbuild",draft:!1,unlisted:!1,editUrl:"https://github.com/Snigdha-OS/documentation/tree/master/docs/dev_guide/pkgbuild.md",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Build Snigdha OS",permalink:"/documentation/dev_guide/build_source"},next:{title:"Generate GPG Key",permalink:"/documentation/dev_guide/gpg_key"}},r={},l=[{value:"What is PKGBUILD?",id:"what-is-pkgbuild",level:2},{value:"A simple PKGBUILD",id:"a-simple-pkgbuild",level:2},{value:"Snigdha OS PKGBUILD",id:"snigdha-os-pkgbuild",level:2}];function d(e){const n={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"pkgbuild-template",children:"PKGBUILD Template"}),"\n",(0,t.jsxs)(n.p,{children:["Snigdha OS has it's own ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," template for building packages. We follow the the template so that we can maintain the packages in a better way. If you are building packages for Snigdha OS, then it will be a good option to follow the ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," template."]}),"\n",(0,t.jsx)(n.h2,{id:"what-is-pkgbuild",children:"What is PKGBUILD?"}),"\n",(0,t.jsxs)(n.p,{children:["In Arch Linux or Snigdha OS, ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," is a script used to build packages. It contains metadata about the package as well as instructions on how to compile or otherwise obtain the necessary files to create a package. ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," scripts are used with the ",(0,t.jsx)(n.code,{children:"makepkg"})," utility to create packages in the Arch Linux package format (",(0,t.jsx)(n.code,{children:".pkg.tar.xz"}),"). But in ",(0,t.jsx)(n.strong,{children:"Snigdha OS"})," our package format will be ",(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.code,{children:".pkg.tar.zst"})}),"."]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"PKGBUILD"})," typically includes information such as the package name, version, dependencies, build instructions, and optional parameters. They allow users to easily create custom packages from source code or other files, which can then be installed using the package manager (",(0,t.jsx)(n.code,{children:"pacman"}),")."]}),"\n",(0,t.jsxs)(n.p,{children:["Using ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," scripts provides a standardized and reproducible way to create packages, ensuring consistency across the Arch Linux ecosystem. Additionally, the Arch User Repository (AUR) relies heavily on ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," scripts submitted by users to build and distribute packages that are not available in the official repositories. Since ",(0,t.jsx)(n.strong,{children:"Snigdha OS"})," also comes in ",(0,t.jsx)(n.strong,{children:"Arch Linux"})," ecosystem, we also rely on Arch User Repository for packages."]}),"\n",(0,t.jsx)(n.h2,{id:"a-simple-pkgbuild",children:"A simple PKGBUILD"}),"\n",(0,t.jsxs)(n.p,{children:["Writing a ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," for Arch Linux and Snigdha OS involves several key steps. Below is a basic example of a ",(0,t.jsx)(n.code,{children:"PKGBUILD"}),' for a fictitious application called "exampleapp." This example assumes that "exampleapp" is a simple Python application with a ',(0,t.jsx)(n.code,{children:"setup.py"})," file for installation."]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:'# Maintainer: Your Name \npkgname=exampleapp\npkgver=1.0\npkgrel=1\npkgdesc="A simple example application"\narch=(\'any\')\nurl="https://example.com/exampleapp"\nlicense=(\'MIT\')\ndepends=(\'python\')\n\nsource=("https://example.com/exampleapp/exampleapp-${pkgver}.tar.gz")\n\nbuild() {\n cd "${srcdir}/exampleapp-${pkgver}"\n python setup.py build\n}\n\npackage() {\n cd "${srcdir}/exampleapp-${pkgver}"\n python setup.py install --root="${pkgdir}/" --optimize=1\n}\n\n# Checksums, uncomment these lines and provide the correct checksums:\n# sha256sums=(\'SKIP\')\n\n'})}),"\n",(0,t.jsx)(n.p,{children:"Here's a breakdown of the sections:"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Metadata"}),": This section defines metadata about the package, including its name (",(0,t.jsx)(n.code,{children:"pkgname"}),"), version (",(0,t.jsx)(n.code,{children:"pkgver"}),"), release number (",(0,t.jsx)(n.code,{children:"pkgrel"}),"), description (",(0,t.jsx)(n.code,{children:"pkgdesc"}),"), architecture (",(0,t.jsx)(n.code,{children:"arch"}),"), URL (",(0,t.jsx)(n.code,{children:"url"}),"), and license (",(0,t.jsx)(n.code,{children:"license"}),"). These fields are essential for identifying and describing the package."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Dependencies"}),": The ",(0,t.jsx)(n.code,{children:"depends"})," array lists the runtime dependencies required for the package to function correctly. You should include any libraries or packages that your application relies on."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Source"}),": The ",(0,t.jsx)(n.code,{children:"source"})," array specifies where to download the source code for the application. In this example, the source is assumed to be a tarball available at a URL. You may need to adjust this section based on the source code's location and format."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Build() function"}),": This function contains the commands needed to build the package. It typically involves navigating to the source directory (",(0,t.jsx)(n.code,{children:"${srcdir}"}),") and running build commands specific to your application. In this example, we're assuming a Python application with a ",(0,t.jsx)(n.code,{children:"setup.py"})," file, so we use ",(0,t.jsx)(n.code,{children:"python setup.py build"}),"."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Package() function"}),": This function contains the commands needed to install the package into the package directory (",(0,t.jsx)(n.code,{children:"${pkgdir}"}),"). It typically involves navigating to the source directory and running installation commands. Here, we're assuming a Python application with a ",(0,t.jsx)(n.code,{children:"setup.py"})," file, so we use ",(0,t.jsx)(n.code,{children:"python setup.py install"}),"."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Checksums"}),": Uncomment the ",(0,t.jsx)(n.code,{children:"sha256sums"})," array and provide the correct checksum for the source tarball. This ensures that the source hasn't been tampered with."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["Once you've written the ",(0,t.jsx)(n.code,{children:"PKGBUILD"}),", save it to a file named ",(0,t.jsx)(n.code,{children:"PKGBUILD"})," and place it in a directory with the same name as the package. You can then use the ",(0,t.jsx)(n.code,{children:"makepkg"})," command to build the package:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"$ makepkg\n"})}),"\n",(0,t.jsxs)(n.p,{children:["This command will generate a ",(0,t.jsx)(n.code,{children:".pkg.tar.zst"})," file containing the built package, which you can then install using ",(0,t.jsx)(n.code,{children:"pacman"}),"."]}),"\n",(0,t.jsx)(n.h2,{id:"snigdha-os-pkgbuild",children:"Snigdha OS PKGBUILD"}),"\n",(0,t.jsx)(n.p,{children:"Here is the PKGBUILD Template we follow specifically for Snigdha OS."}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"# Maintainer: Your Name \npkgname=\norg=Snigdha-OS # The username/organization username where you upload the Source Code. \nbranch=master # Your GitHub/GitLab/Gitea repository branch. Possible values: master, main, devlopment\npkgver= # Initiate it with 1.\npkgrel= # Initiate it with 1.\npkgdesc='' # A short description of your package.\narch=('') # Possible options: any,x86_64, arm64 etc.\nurl=\"\" # Your package source code URL \nlicense=('') # Possible options: MIT, GPL, AGPL, custom\nmakedepends=('') # Dependency it install or run the package\nsource=(\"\") # The source of the package \nsha256sums=('') # checksums\ninstall=$pkgname.install # Further instuction after installing/building the package.\n\npkgver() {\n\tprintf \"r%s.%s\" \"$(git rev-list --count HEAD)\" \"$(git rev-parse --short HEAD)\"\n}\n\n# Since we maintain the package version with the github repository commit count an the last commit, we use pkgver() function.\n# It is a good option the maintain the package version. Somtimes I forgot to change the version.\n\npackage() {\n\t# Your package function goes here with instructions to build the package. \n}\n"})})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>o,x:()=>c});var t=i(6540);const a={},s=t.createContext(a);function o(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.20b6effe.js b/assets/js/935f2afb.20b6effe.js new file mode 100644 index 00000000..47af53a2 --- /dev/null +++ b/assets/js/935f2afb.20b6effe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Introduction","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Introduction","href":"/documentation/","docId":"introduction/introduction","unlisted":false},{"type":"link","label":"Inspiration","href":"/documentation/introduction/inspiration","docId":"introduction/inspiration","unlisted":false},{"type":"link","label":"Code Of Conduct","href":"/documentation/introduction/code_of_conduct","docId":"introduction/code_of_conduct","unlisted":false},{"type":"link","label":"Release Notes","href":"/documentation/introduction/release_notes","docId":"introduction/release_notes","unlisted":false},{"type":"link","label":"Reporting Bugs","href":"/documentation/introduction/reporting_bugs","docId":"introduction/reporting_bugs","unlisted":false},{"type":"link","label":"Frequently Asked","href":"/documentation/introduction/faqs","docId":"introduction/faqs","unlisted":false},{"type":"link","label":"Contribution Guidelines","href":"/documentation/introduction/contributing","docId":"introduction/contributing","unlisted":false},{"type":"link","label":"Coding Standard","href":"/documentation/introduction/coding-standard","docId":"introduction/coding-standard","unlisted":false}],"href":"/documentation/category/introduction"},{"type":"category","label":"Before Installation","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"System Requirements","href":"/documentation/before_installation/system_requirements","docId":"before_installation/system_requirements","unlisted":false},{"type":"link","label":"Important Notes","href":"/documentation/before_installation/imporatnt_notes","docId":"before_installation/imporatnt_notes","unlisted":false},{"type":"link","label":"Internet Connection","href":"/documentation/before_installation/internet_connection","docId":"before_installation/internet_connection","unlisted":false}],"href":"/documentation/category/before-installation"},{"type":"category","label":"Installation","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Download Snigdha OS","href":"/documentation/installation/download_snigdha_os","docId":"installation/download_snigdha_os","unlisted":false},{"type":"link","label":"Make Bootable USB","href":"/documentation/installation/making_bootable_usb","docId":"installation/making_bootable_usb","unlisted":false},{"type":"link","label":"Live Environment","href":"/documentation/installation/live_env","docId":"installation/live_env","unlisted":false},{"type":"link","label":"Offline Installation","href":"/documentation/installation/offline_install","docId":"installation/offline_install","unlisted":false},{"type":"link","label":"Online Installation","href":"/documentation/installation/online_install","docId":"installation/online_install","unlisted":false},{"type":"link","label":"Install Snigdha OS","href":"/documentation/installation/start_installation","docId":"installation/start_installation","unlisted":false},{"type":"link","label":"Virtualbox","href":"/documentation/installation/virtualbox_installation","docId":"installation/virtualbox_installation","unlisted":false}],"href":"/documentation/category/installation"},{"type":"category","label":"Post Installation","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Language","href":"/documentation/post_installation/language","docId":"post_installation/language","unlisted":false},{"type":"link","label":"Update Snigdha OS","href":"/documentation/post_installation/update","docId":"post_installation/update","unlisted":false},{"type":"link","label":"Customize Snigdha OS","href":"/documentation/post_installation/customization","docId":"post_installation/customization","unlisted":false},{"type":"link","label":"Install Packages","href":"/documentation/post_installation/install_packages","docId":"post_installation/install_packages","unlisted":false}],"href":"/documentation/category/post-installation"},{"type":"category","label":"User Guide","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Cheetsheet/Shortcuts","href":"/documentation/user_guide/cheetsheet","docId":"user_guide/cheetsheet","unlisted":false},{"type":"link","label":"Installing with AUR","href":"/documentation/user_guide/aur","docId":"user_guide/aur","unlisted":false}],"href":"/documentation/category/user-guide"},{"type":"category","label":"Troubleshoot","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Troubleshoot: Wifi","href":"/documentation/troubleshoot/wifi","docId":"troubleshoot/wifi","unlisted":false},{"type":"link","label":"Troubleshoot: Bluetooth","href":"/documentation/troubleshoot/bluetooth","docId":"troubleshoot/bluetooth","unlisted":false},{"type":"link","label":"Troubleshoot: Sound","href":"/documentation/troubleshoot/sound","docId":"troubleshoot/sound","unlisted":false},{"type":"link","label":"Troubleshoot: Display","href":"/documentation/troubleshoot/display","docId":"troubleshoot/display","unlisted":false}],"href":"/documentation/category/troubleshoot"},{"type":"category","label":"Packages","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Welcome","href":"/documentation/packages/snigdhaos_welcome","docId":"packages/snigdhaos_welcome","unlisted":false},{"type":"link","label":"Blackbox","href":"/documentation/packages/snigdhaos_blackbox","docId":"packages/snigdhaos_blackbox","unlisted":false}],"href":"/documentation/category/packages"},{"type":"category","label":"Developers Guide","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Build From Source","href":"/documentation/dev_guide/build_source","docId":"dev_guide/build_source","unlisted":false},{"type":"link","label":"PKGBUILD Template","href":"/documentation/dev_guide/pkgbuild","docId":"dev_guide/pkgbuild","unlisted":false},{"type":"link","label":"Generate GPG Key","href":"/documentation/dev_guide/gpg_key","docId":"dev_guide/gpg_key","unlisted":false},{"type":"link","label":"Upload & Deploy Packages","href":"/documentation/dev_guide/deploy_packages","docId":"dev_guide/deploy_packages","unlisted":false},{"type":"link","label":"Install Keyrings","href":"/documentation/dev_guide/install_keyring","docId":"dev_guide/install_keyring","unlisted":false},{"type":"link","label":"Writing Documentation","href":"/documentation/dev_guide/write","docId":"dev_guide/write","unlisted":false}],"href":"/documentation/category/developers-guide"},{"type":"category","label":"Tools","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Tool: DNS Enum","href":"/documentation/tools/dns","docId":"tools/dns","unlisted":false}],"href":"/documentation/category/tools"}]},"docs":{"before_installation/imporatnt_notes":{"id":"before_installation/imporatnt_notes","title":"Important Notes","description":"\ud83d\udccc We do not recommended you to install Snigdha OS via VM (\'Virtual Machine\' = virtual machine), as it is optimized for use on real hardware or physical machine.","sidebar":"tutorialSidebar"},"before_installation/internet_connection":{"id":"before_installation/internet_connection","title":"Internet Connection","description":"","sidebar":"tutorialSidebar"},"before_installation/system_requirements":{"id":"before_installation/system_requirements","title":"System Requirements","description":"Minimum Requirements","sidebar":"tutorialSidebar"},"dev_guide/build_source":{"id":"dev_guide/build_source","title":"Build From Source","description":"Overview","sidebar":"tutorialSidebar"},"dev_guide/deploy_packages":{"id":"dev_guide/deploy_packages","title":"Upload & Deploy Packages","description":"","sidebar":"tutorialSidebar"},"dev_guide/gpg_key":{"id":"dev_guide/gpg_key","title":"Generate GPG Key","description":"","sidebar":"tutorialSidebar"},"dev_guide/install_keyring":{"id":"dev_guide/install_keyring","title":"Install Keyrings","description":"","sidebar":"tutorialSidebar"},"dev_guide/pkgbuild":{"id":"dev_guide/pkgbuild","title":"PKGBUILD Template","description":"Snigdha OS has it\'s own PKGBUILD template for building packages. We follow the the template so that we can maintain the packages in a better way. If you are building packages for Snigdha OS, then it will be a good option to follow the PKGBUILD template.","sidebar":"tutorialSidebar"},"dev_guide/write":{"id":"dev_guide/write","title":"Writing Documentation","description":"Adding documentation can help countless future of Snigdha OS users. A few ideas of what to work on:","sidebar":"tutorialSidebar"},"installation/download_snigdha_os":{"id":"installation/download_snigdha_os","title":"Download Snigdha OS","description":"","sidebar":"tutorialSidebar"},"installation/live_env":{"id":"installation/live_env","title":"Live Environment","description":"","sidebar":"tutorialSidebar"},"installation/making_bootable_usb":{"id":"installation/making_bootable_usb","title":"Make Bootable USB","description":"","sidebar":"tutorialSidebar"},"installation/offline_install":{"id":"installation/offline_install","title":"Offline Installation","description":"","sidebar":"tutorialSidebar"},"installation/online_install":{"id":"installation/online_install","title":"Online Installation","description":"","sidebar":"tutorialSidebar"},"installation/start_installation":{"id":"installation/start_installation","title":"Install Snigdha OS","description":"","sidebar":"tutorialSidebar"},"installation/virtualbox_installation":{"id":"installation/virtualbox_installation","title":"Virtualbox","description":"","sidebar":"tutorialSidebar"},"introduction/code_of_conduct":{"id":"introduction/code_of_conduct","title":"Code Of Conduct","description":"A code of conduct outlines expected behavior and guidelines for individuals within a specific community, organization, or group.","sidebar":"tutorialSidebar"},"introduction/coding-standard":{"id":"introduction/coding-standard","title":"Coding Standard","description":"1. Consistent Naming Conventions:","sidebar":"tutorialSidebar"},"introduction/contributing":{"id":"introduction/contributing","title":"Contribution Guidelines","description":"Thank you for considering contributing to Snigdha OS! We welcome contributions from everyone.","sidebar":"tutorialSidebar"},"introduction/faqs":{"id":"introduction/faqs","title":"Frequently Asked","description":"Here are some frequently asked questions (FAQs) about Snigdha OS (penetration distribution):","sidebar":"tutorialSidebar"},"introduction/inspiration":{"id":"introduction/inspiration","title":"Inspiration","description":"","sidebar":"tutorialSidebar"},"introduction/introduction":{"id":"introduction/introduction","title":"Introduction","description":"Snigdha OS is a lightweight and highly customizable Linux distribution based on Arch and Linux Zen Kernel, minimalism, and focus on user-centric design. We are also working on penetration distribution and blackbox.","sidebar":"tutorialSidebar"},"introduction/release_notes":{"id":"introduction/release_notes","title":"Release Notes","description":"FOR IMMEDIATE RELEASE","sidebar":"tutorialSidebar"},"introduction/reporting_bugs":{"id":"introduction/reporting_bugs","title":"Reporting Bugs","description":"If you discover a security vulnerability within Snigdha OS as well as any packages and tools, please follow our security policy so we can address it promptly.","sidebar":"tutorialSidebar"},"packages/snigdhaos_blackbox":{"id":"packages/snigdhaos_blackbox","title":"Blackbox","description":"","sidebar":"tutorialSidebar"},"packages/snigdhaos_welcome":{"id":"packages/snigdhaos_welcome","title":"Welcome","description":"","sidebar":"tutorialSidebar"},"post_installation/customization":{"id":"post_installation/customization","title":"Customize Snigdha OS","description":"","sidebar":"tutorialSidebar"},"post_installation/install_packages":{"id":"post_installation/install_packages","title":"Install Packages","description":"","sidebar":"tutorialSidebar"},"post_installation/language":{"id":"post_installation/language","title":"Language","description":"","sidebar":"tutorialSidebar"},"post_installation/update":{"id":"post_installation/update","title":"Update Snigdha OS","description":"","sidebar":"tutorialSidebar"},"tools/dns":{"id":"tools/dns","title":"Tool: DNS Enum","description":"","sidebar":"tutorialSidebar"},"troubleshoot/bluetooth":{"id":"troubleshoot/bluetooth","title":"Troubleshoot: Bluetooth","description":"Troubleshooting Bluetooth on Snigdha OS involves several steps. Here\'s the common practice:","sidebar":"tutorialSidebar"},"troubleshoot/display":{"id":"troubleshoot/display","title":"Troubleshoot: Display","description":"","sidebar":"tutorialSidebar"},"troubleshoot/sound":{"id":"troubleshoot/sound","title":"Troubleshoot: Sound","description":"","sidebar":"tutorialSidebar"},"troubleshoot/wifi":{"id":"troubleshoot/wifi","title":"Troubleshoot: Wifi","description":"","sidebar":"tutorialSidebar"},"user_guide/aur":{"id":"user_guide/aur","title":"Installing with AUR","description":"","sidebar":"tutorialSidebar"},"user_guide/cheetsheet":{"id":"user_guide/cheetsheet","title":"Cheetsheet/Shortcuts","description":"","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.99d41c8e.js b/assets/js/935f2afb.99d41c8e.js deleted file mode 100644 index fffe74f4..00000000 --- a/assets/js/935f2afb.99d41c8e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[8581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Introduction","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Introduction","href":"/documentation/","docId":"introduction/introduction","unlisted":false},{"type":"link","label":"Inspiration","href":"/documentation/introduction/inspiration","docId":"introduction/inspiration","unlisted":false},{"type":"link","label":"Code Of Conduct","href":"/documentation/introduction/code_of_conduct","docId":"introduction/code_of_conduct","unlisted":false},{"type":"link","label":"Release Notes","href":"/documentation/introduction/release_notes","docId":"introduction/release_notes","unlisted":false},{"type":"link","label":"Reporting Bugs","href":"/documentation/introduction/reporting_bugs","docId":"introduction/reporting_bugs","unlisted":false},{"type":"link","label":"Frequently Asked","href":"/documentation/introduction/faqs","docId":"introduction/faqs","unlisted":false},{"type":"link","label":"Contribution Guidelines","href":"/documentation/introduction/contributing","docId":"introduction/contributing","unlisted":false},{"type":"link","label":"Coding Standard","href":"/documentation/introduction/coding-standard","docId":"introduction/coding-standard","unlisted":false}],"href":"/documentation/category/introduction"},{"type":"category","label":"Before Installation","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"System Requirements","href":"/documentation/before_installation/system_requirements","docId":"before_installation/system_requirements","unlisted":false},{"type":"link","label":"Important Notes","href":"/documentation/before_installation/imporatnt_notes","docId":"before_installation/imporatnt_notes","unlisted":false},{"type":"link","label":"Internet Connection","href":"/documentation/before_installation/internet_connection","docId":"before_installation/internet_connection","unlisted":false}],"href":"/documentation/category/before-installation"},{"type":"category","label":"Installation","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Download Snigdha OS","href":"/documentation/installation/download_snigdha_os","docId":"installation/download_snigdha_os","unlisted":false},{"type":"link","label":"Make Bootable USB","href":"/documentation/installation/making_bootable_usb","docId":"installation/making_bootable_usb","unlisted":false},{"type":"link","label":"Live Environment","href":"/documentation/installation/live_env","docId":"installation/live_env","unlisted":false},{"type":"link","label":"Offline Installation","href":"/documentation/installation/offline_install","docId":"installation/offline_install","unlisted":false},{"type":"link","label":"Online Installation","href":"/documentation/installation/online_install","docId":"installation/online_install","unlisted":false},{"type":"link","label":"Install Snigdha OS","href":"/documentation/installation/start_installation","docId":"installation/start_installation","unlisted":false},{"type":"link","label":"Virtualbox","href":"/documentation/installation/virtualbox_installation","docId":"installation/virtualbox_installation","unlisted":false}],"href":"/documentation/category/installation"},{"type":"category","label":"Post Installation","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Language","href":"/documentation/post_installation/language","docId":"post_installation/language","unlisted":false},{"type":"link","label":"Update Snigdha OS","href":"/documentation/post_installation/update","docId":"post_installation/update","unlisted":false},{"type":"link","label":"Customize Snigdha OS","href":"/documentation/post_installation/customization","docId":"post_installation/customization","unlisted":false},{"type":"link","label":"Install Packages","href":"/documentation/post_installation/install_packages","docId":"post_installation/install_packages","unlisted":false}],"href":"/documentation/category/post-installation"},{"type":"category","label":"User Guide","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Cheetsheet/Shortcuts","href":"/documentation/user_guide/cheetsheet","docId":"user_guide/cheetsheet","unlisted":false},{"type":"link","label":"Installing with AUR","href":"/documentation/user_guide/aur","docId":"user_guide/aur","unlisted":false}],"href":"/documentation/category/user-guide"},{"type":"category","label":"Troubleshoot","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Troubleshoot: Wifi","href":"/documentation/troubleshoot/wifi","docId":"troubleshoot/wifi","unlisted":false},{"type":"link","label":"Troubleshoot: Bluetooth","href":"/documentation/troubleshoot/bluetooth","docId":"troubleshoot/bluetooth","unlisted":false},{"type":"link","label":"Troubleshoot: Sound","href":"/documentation/troubleshoot/sound","docId":"troubleshoot/sound","unlisted":false},{"type":"link","label":"Troubleshoot: Display","href":"/documentation/troubleshoot/display","docId":"troubleshoot/display","unlisted":false}],"href":"/documentation/category/troubleshoot"},{"type":"category","label":"Packages","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Welcome","href":"/documentation/packages/snigdhaos_welcome","docId":"packages/snigdhaos_welcome","unlisted":false},{"type":"link","label":"Blackbox","href":"/documentation/packages/snigdhaos_blackbox","docId":"packages/snigdhaos_blackbox","unlisted":false}],"href":"/documentation/category/packages"},{"type":"category","label":"Developers Guide","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Build Snigdha OS","href":"/documentation/dev_guide/build_source","docId":"dev_guide/build_source","unlisted":false},{"type":"link","label":"PKGBUILD Template","href":"/documentation/dev_guide/pkgbuild","docId":"dev_guide/pkgbuild","unlisted":false},{"type":"link","label":"Generate GPG Key","href":"/documentation/dev_guide/gpg_key","docId":"dev_guide/gpg_key","unlisted":false},{"type":"link","label":"Upload & Deploy Packages","href":"/documentation/dev_guide/deploy_packages","docId":"dev_guide/deploy_packages","unlisted":false},{"type":"link","label":"Install Keyrings","href":"/documentation/dev_guide/install_keyring","docId":"dev_guide/install_keyring","unlisted":false},{"type":"link","label":"Writing Documentation","href":"/documentation/dev_guide/write","docId":"dev_guide/write","unlisted":false}],"href":"/documentation/category/developers-guide"},{"type":"category","label":"Tools","collapsible":false,"collapsed":false,"items":[{"type":"link","label":"Tool: DNS Enum","href":"/documentation/tools/dns","docId":"tools/dns","unlisted":false}],"href":"/documentation/category/tools"}]},"docs":{"before_installation/imporatnt_notes":{"id":"before_installation/imporatnt_notes","title":"Important Notes","description":"\ud83d\udccc We do not recommended you to install Snigdha OS via VM (\'Virtual Machine\' = virtual machine), as it is optimized for use on real hardware or physical machine.","sidebar":"tutorialSidebar"},"before_installation/internet_connection":{"id":"before_installation/internet_connection","title":"Internet Connection","description":"","sidebar":"tutorialSidebar"},"before_installation/system_requirements":{"id":"before_installation/system_requirements","title":"System Requirements","description":"Minimum Requirements","sidebar":"tutorialSidebar"},"dev_guide/build_source":{"id":"dev_guide/build_source","title":"Build Snigdha OS","description":"Overview","sidebar":"tutorialSidebar"},"dev_guide/deploy_packages":{"id":"dev_guide/deploy_packages","title":"Upload & Deploy Packages","description":"","sidebar":"tutorialSidebar"},"dev_guide/gpg_key":{"id":"dev_guide/gpg_key","title":"Generate GPG Key","description":"","sidebar":"tutorialSidebar"},"dev_guide/install_keyring":{"id":"dev_guide/install_keyring","title":"Install Keyrings","description":"","sidebar":"tutorialSidebar"},"dev_guide/pkgbuild":{"id":"dev_guide/pkgbuild","title":"PKGBUILD Template","description":"Snigdha OS has it\'s own PKGBUILD template for building packages. We follow the the template so that we can maintain the packages in a better way. If you are building packages for Snigdha OS, then it will be a good option to follow the PKGBUILD template.","sidebar":"tutorialSidebar"},"dev_guide/write":{"id":"dev_guide/write","title":"Writing Documentation","description":"Adding documentation can help countless future of Snigdha OS users. A few ideas of what to work on:","sidebar":"tutorialSidebar"},"installation/download_snigdha_os":{"id":"installation/download_snigdha_os","title":"Download Snigdha OS","description":"","sidebar":"tutorialSidebar"},"installation/live_env":{"id":"installation/live_env","title":"Live Environment","description":"","sidebar":"tutorialSidebar"},"installation/making_bootable_usb":{"id":"installation/making_bootable_usb","title":"Make Bootable USB","description":"","sidebar":"tutorialSidebar"},"installation/offline_install":{"id":"installation/offline_install","title":"Offline Installation","description":"","sidebar":"tutorialSidebar"},"installation/online_install":{"id":"installation/online_install","title":"Online Installation","description":"","sidebar":"tutorialSidebar"},"installation/start_installation":{"id":"installation/start_installation","title":"Install Snigdha OS","description":"","sidebar":"tutorialSidebar"},"installation/virtualbox_installation":{"id":"installation/virtualbox_installation","title":"Virtualbox","description":"","sidebar":"tutorialSidebar"},"introduction/code_of_conduct":{"id":"introduction/code_of_conduct","title":"Code Of Conduct","description":"A code of conduct outlines expected behavior and guidelines for individuals within a specific community, organization, or group.","sidebar":"tutorialSidebar"},"introduction/coding-standard":{"id":"introduction/coding-standard","title":"Coding Standard","description":"1. Consistent Naming Conventions:","sidebar":"tutorialSidebar"},"introduction/contributing":{"id":"introduction/contributing","title":"Contribution Guidelines","description":"Thank you for considering contributing to Snigdha OS! We welcome contributions from everyone.","sidebar":"tutorialSidebar"},"introduction/faqs":{"id":"introduction/faqs","title":"Frequently Asked","description":"Here are some frequently asked questions (FAQs) about Snigdha OS (penetration distribution):","sidebar":"tutorialSidebar"},"introduction/inspiration":{"id":"introduction/inspiration","title":"Inspiration","description":"","sidebar":"tutorialSidebar"},"introduction/introduction":{"id":"introduction/introduction","title":"Introduction","description":"Snigdha OS is a lightweight and highly customizable Linux distribution based on Arch and Linux Zen Kernel, minimalism, and focus on user-centric design. We are also working on penetration distribution and blackbox.","sidebar":"tutorialSidebar"},"introduction/release_notes":{"id":"introduction/release_notes","title":"Release Notes","description":"FOR IMMEDIATE RELEASE","sidebar":"tutorialSidebar"},"introduction/reporting_bugs":{"id":"introduction/reporting_bugs","title":"Reporting Bugs","description":"If you discover a security vulnerability within Snigdha OS as well as any packages and tools, please follow our security policy so we can address it promptly.","sidebar":"tutorialSidebar"},"packages/snigdhaos_blackbox":{"id":"packages/snigdhaos_blackbox","title":"Blackbox","description":"","sidebar":"tutorialSidebar"},"packages/snigdhaos_welcome":{"id":"packages/snigdhaos_welcome","title":"Welcome","description":"","sidebar":"tutorialSidebar"},"post_installation/customization":{"id":"post_installation/customization","title":"Customize Snigdha OS","description":"","sidebar":"tutorialSidebar"},"post_installation/install_packages":{"id":"post_installation/install_packages","title":"Install Packages","description":"","sidebar":"tutorialSidebar"},"post_installation/language":{"id":"post_installation/language","title":"Language","description":"","sidebar":"tutorialSidebar"},"post_installation/update":{"id":"post_installation/update","title":"Update Snigdha OS","description":"","sidebar":"tutorialSidebar"},"tools/dns":{"id":"tools/dns","title":"Tool: DNS Enum","description":"","sidebar":"tutorialSidebar"},"troubleshoot/bluetooth":{"id":"troubleshoot/bluetooth","title":"Troubleshoot: Bluetooth","description":"Troubleshooting Bluetooth on Snigdha OS involves several steps. Here\'s the common practice:","sidebar":"tutorialSidebar"},"troubleshoot/display":{"id":"troubleshoot/display","title":"Troubleshoot: Display","description":"","sidebar":"tutorialSidebar"},"troubleshoot/sound":{"id":"troubleshoot/sound","title":"Troubleshoot: Sound","description":"","sidebar":"tutorialSidebar"},"troubleshoot/wifi":{"id":"troubleshoot/wifi","title":"Troubleshoot: Wifi","description":"","sidebar":"tutorialSidebar"},"user_guide/aur":{"id":"user_guide/aur","title":"Installing with AUR","description":"","sidebar":"tutorialSidebar"},"user_guide/cheetsheet":{"id":"user_guide/cheetsheet","title":"Cheetsheet/Shortcuts","description":"","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/9dcbbb0d.6cd21299.js b/assets/js/9dcbbb0d.6cd21299.js new file mode 100644 index 00000000..003a7711 --- /dev/null +++ b/assets/js/9dcbbb0d.6cd21299.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[3327],{949:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>h,frontMatter:()=>t,metadata:()=>a,toc:()=>d});var r=i(4848),o=i(8453);const t={sidebar_position:1},s="Build From Source",a={id:"dev_guide/build_source",title:"Build From Source",description:"Overview",source:"@site/docs/dev_guide/build_source.md",sourceDirName:"dev_guide",slug:"/dev_guide/build_source",permalink:"/documentation/dev_guide/build_source",draft:!1,unlisted:!1,editUrl:"https://github.com/Snigdha-OS/documentation/tree/master/docs/dev_guide/build_source.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Developers Guide",permalink:"/documentation/category/developers-guide"},next:{title:"PKGBUILD Template",permalink:"/documentation/dev_guide/pkgbuild"}},c={},d=[{value:"Overview",id:"overview",level:2},{value:"Prerequisites",id:"prerequisites",level:2},{value:"Adding Repository",id:"adding-repository",level:2},{value:"Cloning Source from GitHub",id:"cloning-source-from-github",level:2}];function l(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"build-from-source",children:"Build From Source"}),"\n",(0,r.jsx)(n.h2,{id:"overview",children:"Overview"}),"\n",(0,r.jsxs)(n.p,{children:["Building ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," from the source code is very easy. In this documentation, I am going to guide you on how to build ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," from the source. And customizing it."]}),"\n",(0,r.jsx)(n.admonition,{title:"Caution",type:"danger",children:(0,r.jsxs)(n.p,{children:["Before running or customizing any script, first examine. Remember, you are running all the scripts produced by ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," at your own risk!"]})}),"\n",(0,r.jsx)(n.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,r.jsxs)(n.p,{children:["To build ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," from the source, we need some packages which are hosted on ",(0,r.jsx)(n.a,{href:"https://github.com/snosmirror/snigdhaos-core",children:"SNIGDHA OS CORE"})," repository and ",(0,r.jsx)(n.a,{href:"https://github.com/snosmirror/snigdhaos-extra",children:"SNIGDHA OS EXTRA"})," repository. ",(0,r.jsx)(n.a,{href:"https://github.com/snosmirror/snigdhaos-testing",children:"SNIGDHA OS TESTING"})," is an optional repository. You also need ",(0,r.jsx)(n.strong,{children:"Chaotic-AUR"})," because some packages come from the chaotic-aur. e.g : github-desktop."]}),"\n",(0,r.jsx)(n.admonition,{title:"NOTE",type:"info",children:(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Make sure you have internet connection."}),"\n",(0,r.jsxs)(n.li,{children:["If you are on ",(0,r.jsx)(n.strong,{children:"Snigdha OS"}),", you need not add any repository! By default all the repositories are added and enabled."]}),"\n"]})}),"\n",(0,r.jsx)(n.h2,{id:"adding-repository",children:"Adding Repository"}),"\n",(0,r.jsxs)(n.p,{children:["First of all we will add ",(0,r.jsx)(n.strong,{children:"Snigdha OS Core"})," and ",(0,r.jsx)(n.strong,{children:"Snigdha OS Extra"})," repository in our pacman configuration. to edit ",(0,r.jsx)(n.code,{children:"pacman.conf"}),", execute the following on your terminal. [I am using nano, you are free to use anything]"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"sudo nano /etc/pacman.conf\n"})}),"\n",(0,r.jsxs)(n.admonition,{title:"Archlinux",type:"tip",children:[(0,r.jsxs)(n.p,{children:["If you are using ",(0,r.jsx)(n.strong,{children:"Arch Linux"})," then you can copy and paste the following."]}),(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"#\n# /etc/pacman.conf\n#\n# See the pacman.conf(5) manpage for option and repository directives\n\n#\n# GENERAL OPTIONS\n#\n[options]\n# The following paths are commented out with their default values listed.\n# If you wish to use different paths, uncomment and update the paths.\n#RootDir = /\n#DBPath = /var/lib/pacman/\n#CacheDir = /var/cache/pacman/pkg/\n#LogFile = /var/log/pacman.log\n#GPGDir = /etc/pacman.d/gnupg/\n#HookDir = /etc/pacman.d/hooks/\nHoldPkg = pacman glibc\n#XferCommand = /usr/bin/curl -L -C - -f -o %o %u\n#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u\n#CleanMethod = KeepInstalled\nArchitecture = auto\n\n# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup\n#IgnorePkg =\n#IgnoreGroup =\n\n#NoUpgrade =\n#NoExtract =\n\n# Misc options\n#UseSyslog\n#Color\n#NoProgressBar\nCheckSpace\n#VerbosePkgLists\n#ParallelDownloads = 5\n\n# By default, pacman accepts packages signed by keys that its local keyring\n# trusts (see pacman-key and its man page), as well as unsigned packages.\nSigLevel = Required DatabaseOptional\nLocalFileSigLevel = Optional\n#RemoteFileSigLevel = Required\n\n# NOTE: You must run `pacman-key --init` before first using pacman; the local\n# keyring can then be populated with the keys of all official Arch Linux\n# packagers with `pacman-key --populate archlinux`.\n\n#\n# REPOSITORIES\n# - can be defined here or included from another file\n# - pacman will search repositories in the order defined here\n# - local/custom mirrors can be added here or in separate files\n# - repositories listed first will take precedence when packages\n# have identical names, regardless of version number\n# - URLs will have $repo replaced by the name of the current repo\n# - URLs will have $arch replaced by the name of the architecture\n#\n# Repository entries are of the format:\n# [repo-name]\n# Server = ServerName\n# Include = IncludePath\n#\n# The header [repo-name] is crucial - it must be present and\n# uncommented to enable the repo.\n#\n\n# The testing repositories are disabled by default. To enable, uncomment the\n# repo name header and Include lines. You can add preferred servers immediately\n# after the header, and they will be used before the default mirrors.\n\n#[core-testing]\n#Include = /etc/pacman.d/mirrorlist\n\n[core]\nInclude = /etc/pacman.d/mirrorlist\n\n[snigdhaos-core]\nSigLevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n\n#[extra-testing]\n#Include = /etc/pacman.d/mirrorlist\n\n[extra]\nInclude = /etc/pacman.d/mirrorlist\n\n[snigdhaos-extra]\nSiglevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n\n# If you want to run 32 bit applications on your x86_64 system,\n# enable the multilib repositories as required here.\n\n#[multilib-testing]\n#Include = /etc/pacman.d/mirrorlist\n\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n\n# An example of a custom package repository. See the pacman manpage for\n# tips on creating your own repositories.\n#[custom]\n#SigLevel = Optional TrustAll\n#Server = file:///home/custompkgs\n"})})]}),"\n",(0,r.jsx)(n.p,{children:"After executing, paste the following at the end of the file"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"\n[snigdhaos-core]\nSigLevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n\n[snigdhaos-extra]\nSiglevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n"})}),"\n",(0,r.jsx)(n.admonition,{title:"SigLevel",type:"info",children:(0,r.jsxs)(n.p,{children:["If you have ",(0,r.jsx)(n.code,{children:"SnigdhaOS-keyring"})," installed on the machine or you want to ",(0,r.jsx)(n.a,{href:"/dev_guide/install_keyring",children:"install"})," then you can set the ",(0,r.jsx)(n.strong,{children:"SigLevel = Required DatabaseOptional"}),"."]})}),"\n",(0,r.jsx)(n.p,{children:"You are ready to build Snigdha OS!"}),"\n",(0,r.jsx)(n.h2,{id:"cloning-source-from-github",children:"Cloning Source from GitHub"}),"\n",(0,r.jsxs)(n.p,{children:["Now, clone the ",(0,r.jsx)(n.code,{children:"snigdhaos-arctic"})," github repository. In addition, you can make a separate directory to do that. Go to your specified/choosen directory, execute the following on terminal."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"git clone https://github.com/Snigdha-OS/snigdhaos-arctic.git\n"})}),"\n",(0,r.jsx)(n.p,{children:"then,"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"cd snigdhaos-arctic/scripts\n"})}),"\n",(0,r.jsx)(n.admonition,{title:"SET EXECUTABLE",type:"info",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"chmod +x ./01-online-build\n"})})}),"\n",(0,r.jsx)(n.p,{children:"Now run the script by executing,"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"./01-online-build\n"})}),"\n",(0,r.jsxs)(n.p,{children:["The script will start building ",(0,r.jsx)(n.strong,{children:"Snigdha OS Arctic"}),". You can have a coffee break while building. The building depends on ",(0,r.jsx)(n.strong,{children:"Internet Connection"})," and machine's ",(0,r.jsx)(n.strong,{children:"Performance"}),"."]}),"\n",(0,r.jsxs)(n.p,{children:["After completing, you will find a directory with name ",(0,r.jsx)(n.strong,{children:"Output"})," containing the iso file."]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>s,x:()=>a});var r=i(6540);const o={},t=r.createContext(o);function s(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9dcbbb0d.b76a89cd.js b/assets/js/9dcbbb0d.b76a89cd.js deleted file mode 100644 index 1313349d..00000000 --- a/assets/js/9dcbbb0d.b76a89cd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[3327],{949:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>h,frontMatter:()=>t,metadata:()=>s,toc:()=>c});var r=i(4848),o=i(8453);const t={sidebar_position:1},a="Build Snigdha OS",s={id:"dev_guide/build_source",title:"Build Snigdha OS",description:"Overview",source:"@site/docs/dev_guide/build_source.md",sourceDirName:"dev_guide",slug:"/dev_guide/build_source",permalink:"/documentation/dev_guide/build_source",draft:!1,unlisted:!1,editUrl:"https://github.com/Snigdha-OS/documentation/tree/master/docs/dev_guide/build_source.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Developers Guide",permalink:"/documentation/category/developers-guide"},next:{title:"PKGBUILD Template",permalink:"/documentation/dev_guide/pkgbuild"}},d={},c=[{value:"Overview",id:"overview",level:2},{value:"Prerequisites",id:"prerequisites",level:2},{value:"Adding Repository",id:"adding-repository",level:2},{value:"Cloning Source from GitHub",id:"cloning-source-from-github",level:2}];function l(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"build-snigdha-os",children:"Build Snigdha OS"}),"\n",(0,r.jsx)(n.h2,{id:"overview",children:"Overview"}),"\n",(0,r.jsxs)(n.p,{children:["Building ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," from the source code is very easy. In this documentation, I am going to guide you on how to build ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," from the source. And customizing it."]}),"\n",(0,r.jsx)(n.admonition,{title:"Caution",type:"danger",children:(0,r.jsxs)(n.p,{children:["Before running or customizing any script, first examine. Remember, you are running all the scripts produced by ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," at your own risk!"]})}),"\n",(0,r.jsx)(n.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,r.jsxs)(n.p,{children:["To build ",(0,r.jsx)(n.strong,{children:"Snigdha OS"})," from the source, we need some packages which are hosted on ",(0,r.jsx)(n.a,{href:"https://github.com/snosmirror/snigdhaos-core",children:"SNIGDHA OS CORE"})," repository and ",(0,r.jsx)(n.a,{href:"https://github.com/snosmirror/snigdhaos-extra",children:"SNIGDHA OS EXTRA"})," repository. ",(0,r.jsx)(n.a,{href:"https://github.com/snosmirror/snigdhaos-testing",children:"SNIGDHA OS TESTING"})," is an optional repository. You also need ",(0,r.jsx)(n.strong,{children:"Chaotic-AUR"})," because some packages come from the chaotic-aur. e.g : github-desktop."]}),"\n",(0,r.jsx)(n.admonition,{title:"NOTE",type:"info",children:(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Make sure you have internet connection."}),"\n",(0,r.jsxs)(n.li,{children:["If you are on ",(0,r.jsx)(n.strong,{children:"Snigdha OS"}),", you need not add any repository! By default all the repositories are added and enabled."]}),"\n"]})}),"\n",(0,r.jsx)(n.h2,{id:"adding-repository",children:"Adding Repository"}),"\n",(0,r.jsxs)(n.p,{children:["First of all we will add ",(0,r.jsx)(n.strong,{children:"Snigdha OS Core"})," and ",(0,r.jsx)(n.strong,{children:"Snigdha OS Extra"})," repository in our pacman configuration. to edit ",(0,r.jsx)(n.code,{children:"pacman.conf"}),", execute the following on your terminal. [I am using nano, you are free to use anything]"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"sudo nano /etc/pacman.conf\n"})}),"\n",(0,r.jsxs)(n.admonition,{title:"Archlinux",type:"tip",children:[(0,r.jsxs)(n.p,{children:["If you are using ",(0,r.jsx)(n.strong,{children:"Arch Linux"})," then you can copy and paste the following."]}),(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"#\n# /etc/pacman.conf\n#\n# See the pacman.conf(5) manpage for option and repository directives\n\n#\n# GENERAL OPTIONS\n#\n[options]\n# The following paths are commented out with their default values listed.\n# If you wish to use different paths, uncomment and update the paths.\n#RootDir = /\n#DBPath = /var/lib/pacman/\n#CacheDir = /var/cache/pacman/pkg/\n#LogFile = /var/log/pacman.log\n#GPGDir = /etc/pacman.d/gnupg/\n#HookDir = /etc/pacman.d/hooks/\nHoldPkg = pacman glibc\n#XferCommand = /usr/bin/curl -L -C - -f -o %o %u\n#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u\n#CleanMethod = KeepInstalled\nArchitecture = auto\n\n# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup\n#IgnorePkg =\n#IgnoreGroup =\n\n#NoUpgrade =\n#NoExtract =\n\n# Misc options\n#UseSyslog\n#Color\n#NoProgressBar\nCheckSpace\n#VerbosePkgLists\n#ParallelDownloads = 5\n\n# By default, pacman accepts packages signed by keys that its local keyring\n# trusts (see pacman-key and its man page), as well as unsigned packages.\nSigLevel = Required DatabaseOptional\nLocalFileSigLevel = Optional\n#RemoteFileSigLevel = Required\n\n# NOTE: You must run `pacman-key --init` before first using pacman; the local\n# keyring can then be populated with the keys of all official Arch Linux\n# packagers with `pacman-key --populate archlinux`.\n\n#\n# REPOSITORIES\n# - can be defined here or included from another file\n# - pacman will search repositories in the order defined here\n# - local/custom mirrors can be added here or in separate files\n# - repositories listed first will take precedence when packages\n# have identical names, regardless of version number\n# - URLs will have $repo replaced by the name of the current repo\n# - URLs will have $arch replaced by the name of the architecture\n#\n# Repository entries are of the format:\n# [repo-name]\n# Server = ServerName\n# Include = IncludePath\n#\n# The header [repo-name] is crucial - it must be present and\n# uncommented to enable the repo.\n#\n\n# The testing repositories are disabled by default. To enable, uncomment the\n# repo name header and Include lines. You can add preferred servers immediately\n# after the header, and they will be used before the default mirrors.\n\n#[core-testing]\n#Include = /etc/pacman.d/mirrorlist\n\n[core]\nInclude = /etc/pacman.d/mirrorlist\n\n[snigdhaos-core]\nSigLevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n\n#[extra-testing]\n#Include = /etc/pacman.d/mirrorlist\n\n[extra]\nInclude = /etc/pacman.d/mirrorlist\n\n[snigdhaos-extra]\nSiglevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n\n# If you want to run 32 bit applications on your x86_64 system,\n# enable the multilib repositories as required here.\n\n#[multilib-testing]\n#Include = /etc/pacman.d/mirrorlist\n\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n\n# An example of a custom package repository. See the pacman manpage for\n# tips on creating your own repositories.\n#[custom]\n#SigLevel = Optional TrustAll\n#Server = file:///home/custompkgs\n"})})]}),"\n",(0,r.jsx)(n.p,{children:"After executing, paste the following at the end of the file"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"\n[snigdhaos-core]\nSigLevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n\n[snigdhaos-extra]\nSiglevel = Never\nServer = https://snosmirror.github.io/$repo/$arch\n"})}),"\n",(0,r.jsx)(n.admonition,{title:"SigLevel",type:"info",children:(0,r.jsxs)(n.p,{children:["If you have ",(0,r.jsx)(n.code,{children:"SnigdhaOS-keyring"})," installed on the machine or you want to ",(0,r.jsx)(n.a,{href:"/dev_guide/install_keyring",children:"install"})," then you can set the ",(0,r.jsx)(n.strong,{children:"SigLevel = Required DatabaseOptional"}),"."]})}),"\n",(0,r.jsx)(n.p,{children:"You are ready to build Snigdha OS!"}),"\n",(0,r.jsx)(n.h2,{id:"cloning-source-from-github",children:"Cloning Source from GitHub"}),"\n",(0,r.jsxs)(n.p,{children:["Now, clone the ",(0,r.jsx)(n.code,{children:"snigdhaos-arctic"})," github repository. In addition, you can make a separate directory to do that. Go to your specified/choosen directory, execute the following on terminal."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"git clone https://github.com/Snigdha-OS/snigdhaos-arctic.git\n"})}),"\n",(0,r.jsx)(n.p,{children:"then,"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"cd snigdhaos-arctic/scripts\n"})}),"\n",(0,r.jsx)(n.admonition,{title:"SET EXECUTABLE",type:"info",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"chmod +x ./01-online-build\n"})})}),"\n",(0,r.jsx)(n.p,{children:"Now run the script by executing,"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"./01-online-build\n"})}),"\n",(0,r.jsxs)(n.p,{children:["The script will start building ",(0,r.jsx)(n.strong,{children:"Snigdha OS Arctic"}),". You can have a coffee break while building. The building depends on ",(0,r.jsx)(n.strong,{children:"Internet Connection"})," and machine's ",(0,r.jsx)(n.strong,{children:"Performance"}),"."]}),"\n",(0,r.jsxs)(n.p,{children:["After completing, you will find a directory with name ",(0,r.jsx)(n.strong,{children:"Output"})," containing the iso file."]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},8453:(e,n,i)=>{i.d(n,{R:()=>a,x:()=>s});var r=i(6540);const o={},t=r.createContext(o);function a(e){const n=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.d94fa177.js b/assets/js/runtime~main.36c9ee74.js similarity index 62% rename from assets/js/runtime~main.d94fa177.js rename to assets/js/runtime~main.36c9ee74.js index 3db066fe..62629301 100644 --- a/assets/js/runtime~main.d94fa177.js +++ b/assets/js/runtime~main.36c9ee74.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,c,d,f,b={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(c.exports,c,c.exports,r),c.loaded=!0,c.exports}r.m=b,r.c=t,e=[],r.O=(a,c,d,f)=>{if(!c){var b=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,d,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var b={};a=a||[null,c({}),c([]),c(c)];for(var t=2&d&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>b[a]=()=>e[a]));return b.default=()=>e,r.d(f,b),f},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({58:"a193a73b",155:"21abdd8f",467:"36717f71",858:"0b3ceb4d",1255:"9096837d",1339:"e541c1c2",1703:"de6c38e6",1809:"34e267cb",1976:"c62485b9",2056:"ffa2682b",2246:"400546c3",2523:"9cb882f2",2711:"9e4087bc",2966:"f7a81d3a",3117:"b19634de",3236:"69817ecd",3244:"d68f1e45",3249:"ccc49370",3324:"14e72bca",3327:"9dcbbb0d",3459:"3f32b921",3527:"e89f4dea",3865:"1f9d4574",3925:"bbd9b434",4134:"393be207",4347:"e2e7c0ac",4434:"ccd1ff3c",4474:"eda3af29",4813:"6875c492",4893:"ec3de22d",4925:"7909fc73",5473:"404ec107",5564:"1c0d73a2",5634:"dc87ea58",5678:"24e7cd5a",5713:"b20c3152",5715:"556b5122",5766:"89ebda57",5890:"66ee5a7d",5990:"151aa183",6061:"1f391b9e",6183:"fbb85ca9",6213:"b85d3565",6227:"374f080d",6301:"5d63bb5c",6540:"96b21efb",6731:"b9c524af",6793:"0b7de297",6969:"14eb3368",7098:"a7bd4aaa",7152:"143ddb83",7220:"67391c37",7472:"814f3328",7590:"ad749202",7643:"a6aa9e1f",7904:"f7392c07",7979:"ce85b788",8121:"d773f089",8209:"01a85c17",8262:"ec4024f9",8401:"17896441",8581:"935f2afb",8731:"043e14d3",8752:"d79d4c97",8758:"1b1ff061",8989:"904c2b3c",9040:"9dc2651c",9048:"a94703ab",9250:"795cfaa5",9489:"0e1f2be5",9647:"5e95c892",9886:"06ee4edd"}[e]||e)+"."+{58:"d1c9f39e",155:"ea0fcf78",467:"9bad3c31",858:"857271d9",1255:"bb8a85dd",1339:"884d5b78",1703:"cb71688a",1809:"9f30acc8",1976:"c86b4a11",2056:"949d0eb0",2237:"90ca4f2e",2246:"be0ae073",2523:"201db3f0",2711:"d133e554",2966:"8e1f2edd",3117:"b24e0516",3236:"34b76828",3244:"71f5219e",3249:"6b73572d",3324:"c482a08c",3327:"b76a89cd",3459:"ec677403",3527:"1122dbe0",3865:"74aa75c7",3925:"b4fee3b3",4134:"3b8bdcfd",4347:"736cea4c",4434:"7c104662",4474:"5b1127f6",4813:"e8f59502",4893:"4cbbe302",4925:"82b71b38",5473:"de148e32",5533:"b00002f8",5564:"b039b21b",5634:"1d607739",5678:"ef899640",5713:"33602213",5715:"2752b41d",5766:"8abb5dff",5890:"a9301b2e",5990:"416f7896",6061:"53a4929f",6183:"6ca03e8d",6213:"7e75723f",6227:"7104c2d4",6301:"9ec9fccb",6540:"afdc6461",6731:"fca5fbad",6793:"f959a2ed",6969:"635651a6",7098:"eb590b25",7152:"ed20c8ac",7220:"d7830958",7472:"5ced9f63",7590:"11c2a95e",7643:"cbd984ad",7904:"ff6ec501",7979:"eda88dc6",8121:"d6e1304c",8209:"aa048192",8262:"1793a2e5",8401:"3c043026",8581:"99d41c8e",8731:"628200c5",8747:"9fab19a2",8752:"b501c0b4",8758:"71b9178b",8989:"603be750",9040:"e1fa1844",9048:"3ca769dc",9250:"ca7ed7a2",9489:"57421bf4",9647:"c173e196",9886:"69f7adc3"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),d={},f="documents:",r.l=(e,a,c,b)=>{if(d[e])d[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/documentation/",r.gca=function(e){return e={17896441:"8401",a193a73b:"58","21abdd8f":"155","36717f71":"467","0b3ceb4d":"858","9096837d":"1255",e541c1c2:"1339",de6c38e6:"1703","34e267cb":"1809",c62485b9:"1976",ffa2682b:"2056","400546c3":"2246","9cb882f2":"2523","9e4087bc":"2711",f7a81d3a:"2966",b19634de:"3117","69817ecd":"3236",d68f1e45:"3244",ccc49370:"3249","14e72bca":"3324","9dcbbb0d":"3327","3f32b921":"3459",e89f4dea:"3527","1f9d4574":"3865",bbd9b434:"3925","393be207":"4134",e2e7c0ac:"4347",ccd1ff3c:"4434",eda3af29:"4474","6875c492":"4813",ec3de22d:"4893","7909fc73":"4925","404ec107":"5473","1c0d73a2":"5564",dc87ea58:"5634","24e7cd5a":"5678",b20c3152:"5713","556b5122":"5715","89ebda57":"5766","66ee5a7d":"5890","151aa183":"5990","1f391b9e":"6061",fbb85ca9:"6183",b85d3565:"6213","374f080d":"6227","5d63bb5c":"6301","96b21efb":"6540",b9c524af:"6731","0b7de297":"6793","14eb3368":"6969",a7bd4aaa:"7098","143ddb83":"7152","67391c37":"7220","814f3328":"7472",ad749202:"7590",a6aa9e1f:"7643",f7392c07:"7904",ce85b788:"7979",d773f089:"8121","01a85c17":"8209",ec4024f9:"8262","935f2afb":"8581","043e14d3":"8731",d79d4c97:"8752","1b1ff061":"8758","904c2b3c":"8989","9dc2651c":"9040",a94703ab:"9048","795cfaa5":"9250","0e1f2be5":"9489","5e95c892":"9647","06ee4edd":"9886"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,c)=>{var d=r.o(e,a)?e[a]:void 0;if(0!==d)if(d)c.push(d[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((c,f)=>d=e[a]=[c,f]));c.push(d[2]=f);var b=r.p+r.u(a),t=new Error;r.l(b,(c=>{if(r.o(e,a)&&(0!==(d=e[a])&&(e[a]=void 0),d)){var f=c&&("load"===c.type?"missing":c.type),b=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+b+")",t.name="ChunkLoadError",t.type=f,t.request=b,d[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var d,f,b=c[0],t=c[1],o=c[2],n=0;if(b.some((a=>0!==e[a]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(a&&a(c);n{"use strict";var e,c,a,d,f,b={},t={};function r(e){var c=t[e];if(void 0!==c)return c.exports;var a=t[e]={id:e,loaded:!1,exports:{}};return b[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=b,r.c=t,e=[],r.O=(c,a,d,f)=>{if(!a){var b=1/0;for(i=0;i=f)&&Object.keys(r.O).every((e=>r.O[e](a[o])))?a.splice(o--,1):(t=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[a,d,f]},r.n=e=>{var c=e&&e.__esModule?()=>e.default:()=>e;return r.d(c,{a:c}),c},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,d){if(1&d&&(e=this(e)),8&d)return e;if("object"==typeof e&&e){if(4&d&&e.__esModule)return e;if(16&d&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var b={};c=c||[null,a({}),a([]),a(a)];for(var t=2&d&&e;"object"==typeof t&&!~c.indexOf(t);t=a(t))Object.getOwnPropertyNames(t).forEach((c=>b[c]=()=>e[c]));return b.default=()=>e,r.d(f,b),f},r.d=(e,c)=>{for(var a in c)r.o(c,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:c[a]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((c,a)=>(r.f[a](e,c),c)),[])),r.u=e=>"assets/js/"+({58:"a193a73b",155:"21abdd8f",467:"36717f71",858:"0b3ceb4d",1255:"9096837d",1339:"e541c1c2",1703:"de6c38e6",1809:"34e267cb",1976:"c62485b9",2056:"ffa2682b",2246:"400546c3",2523:"9cb882f2",2711:"9e4087bc",2966:"f7a81d3a",3117:"b19634de",3236:"69817ecd",3244:"d68f1e45",3249:"ccc49370",3324:"14e72bca",3327:"9dcbbb0d",3459:"3f32b921",3527:"e89f4dea",3865:"1f9d4574",3925:"bbd9b434",4134:"393be207",4347:"e2e7c0ac",4434:"ccd1ff3c",4474:"eda3af29",4813:"6875c492",4893:"ec3de22d",4925:"7909fc73",5473:"404ec107",5564:"1c0d73a2",5634:"dc87ea58",5678:"24e7cd5a",5713:"b20c3152",5715:"556b5122",5766:"89ebda57",5890:"66ee5a7d",5990:"151aa183",6061:"1f391b9e",6183:"fbb85ca9",6213:"b85d3565",6227:"374f080d",6301:"5d63bb5c",6540:"96b21efb",6731:"b9c524af",6793:"0b7de297",6969:"14eb3368",7098:"a7bd4aaa",7152:"143ddb83",7220:"67391c37",7472:"814f3328",7590:"ad749202",7643:"a6aa9e1f",7904:"f7392c07",7979:"ce85b788",8121:"d773f089",8209:"01a85c17",8262:"ec4024f9",8401:"17896441",8581:"935f2afb",8731:"043e14d3",8752:"d79d4c97",8758:"1b1ff061",8989:"904c2b3c",9040:"9dc2651c",9048:"a94703ab",9250:"795cfaa5",9489:"0e1f2be5",9647:"5e95c892",9886:"06ee4edd"}[e]||e)+"."+{58:"d1c9f39e",155:"ea0fcf78",467:"9bad3c31",858:"857271d9",1255:"bb8a85dd",1339:"884d5b78",1703:"cb71688a",1809:"9f30acc8",1976:"c86b4a11",2056:"949d0eb0",2237:"90ca4f2e",2246:"be0ae073",2523:"201db3f0",2711:"d133e554",2966:"8e1f2edd",3117:"b24e0516",3236:"34b76828",3244:"71f5219e",3249:"6b73572d",3324:"c482a08c",3327:"6cd21299",3459:"ec677403",3527:"1122dbe0",3865:"74aa75c7",3925:"b4fee3b3",4134:"3b8bdcfd",4347:"736cea4c",4434:"7c104662",4474:"5b1127f6",4813:"e8f59502",4893:"4cbbe302",4925:"82b71b38",5473:"de148e32",5533:"b00002f8",5564:"b039b21b",5634:"1d607739",5678:"ef899640",5713:"33602213",5715:"2752b41d",5766:"8abb5dff",5890:"3cbe2cce",5990:"416f7896",6061:"53a4929f",6183:"6ca03e8d",6213:"7e75723f",6227:"7104c2d4",6301:"9ec9fccb",6540:"afdc6461",6731:"fca5fbad",6793:"f959a2ed",6969:"635651a6",7098:"eb590b25",7152:"ed20c8ac",7220:"d7830958",7472:"5ced9f63",7590:"11c2a95e",7643:"cbd984ad",7904:"ff6ec501",7979:"eda88dc6",8121:"d6e1304c",8209:"aa048192",8262:"1793a2e5",8401:"3c043026",8581:"20b6effe",8731:"628200c5",8747:"9fab19a2",8752:"b501c0b4",8758:"71b9178b",8989:"603be750",9040:"e1fa1844",9048:"3ca769dc",9250:"ca7ed7a2",9489:"57421bf4",9647:"c173e196",9886:"9e01871c"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,c)=>Object.prototype.hasOwnProperty.call(e,c),d={},f="documents:",r.l=(e,c,a,b)=>{if(d[e])d[e].push(c);else{var t,o;if(void 0!==a)for(var n=document.getElementsByTagName("script"),i=0;i{t.onerror=t.onload=null,clearTimeout(s);var f=d[e];if(delete d[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(a))),c)return c(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/documentation/",r.gca=function(e){return e={17896441:"8401",a193a73b:"58","21abdd8f":"155","36717f71":"467","0b3ceb4d":"858","9096837d":"1255",e541c1c2:"1339",de6c38e6:"1703","34e267cb":"1809",c62485b9:"1976",ffa2682b:"2056","400546c3":"2246","9cb882f2":"2523","9e4087bc":"2711",f7a81d3a:"2966",b19634de:"3117","69817ecd":"3236",d68f1e45:"3244",ccc49370:"3249","14e72bca":"3324","9dcbbb0d":"3327","3f32b921":"3459",e89f4dea:"3527","1f9d4574":"3865",bbd9b434:"3925","393be207":"4134",e2e7c0ac:"4347",ccd1ff3c:"4434",eda3af29:"4474","6875c492":"4813",ec3de22d:"4893","7909fc73":"4925","404ec107":"5473","1c0d73a2":"5564",dc87ea58:"5634","24e7cd5a":"5678",b20c3152:"5713","556b5122":"5715","89ebda57":"5766","66ee5a7d":"5890","151aa183":"5990","1f391b9e":"6061",fbb85ca9:"6183",b85d3565:"6213","374f080d":"6227","5d63bb5c":"6301","96b21efb":"6540",b9c524af:"6731","0b7de297":"6793","14eb3368":"6969",a7bd4aaa:"7098","143ddb83":"7152","67391c37":"7220","814f3328":"7472",ad749202:"7590",a6aa9e1f:"7643",f7392c07:"7904",ce85b788:"7979",d773f089:"8121","01a85c17":"8209",ec4024f9:"8262","935f2afb":"8581","043e14d3":"8731",d79d4c97:"8752","1b1ff061":"8758","904c2b3c":"8989","9dc2651c":"9040",a94703ab:"9048","795cfaa5":"9250","0e1f2be5":"9489","5e95c892":"9647","06ee4edd":"9886"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(c,a)=>{var d=r.o(e,c)?e[c]:void 0;if(0!==d)if(d)a.push(d[2]);else if(/^(1869|5354)$/.test(c))e[c]=0;else{var f=new Promise(((a,f)=>d=e[c]=[a,f]));a.push(d[2]=f);var b=r.p+r.u(c),t=new Error;r.l(b,(a=>{if(r.o(e,c)&&(0!==(d=e[c])&&(e[c]=void 0),d)){var f=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;t.message="Loading chunk "+c+" failed.\n("+f+": "+b+")",t.name="ChunkLoadError",t.type=f,t.request=b,d[1](t)}}),"chunk-"+c,c)}},r.O.j=c=>0===e[c];var c=(c,a)=>{var d,f,b=a[0],t=a[1],o=a[2],n=0;if(b.some((c=>0!==e[c]))){for(d in t)r.o(t,d)&&(r.m[d]=t[d]);if(o)var i=o(r)}for(c&&c(a);n Important Notes | SNIGDHA OS - DOCS - + -

Important Notes

+

Important Notes

📌 We do not recommended you to install Snigdha OS via VM ('Virtual Machine' = virtual machine), as it is optimized for use on real hardware or physical machine.

📌 If there is an abnormal system shutdown occurs during installation, it is mainly due to the lack of available RAM (nohang kills the process to prevent the system from responding anymore).

📌 The use of inactive RAM (idle) is probably greater than other distributions since Snigdha OS uses ZRAM and other modifications to improve the general performance of the system.

diff --git a/before_installation/internet_connection.html b/before_installation/internet_connection.html index d179e063..287ee6c9 100644 --- a/before_installation/internet_connection.html +++ b/before_installation/internet_connection.html @@ -5,10 +5,10 @@ Internet Connection | SNIGDHA OS - DOCS - + - + \ No newline at end of file diff --git a/before_installation/system_requirements.html b/before_installation/system_requirements.html index 55a6cd71..ab7c09f9 100644 --- a/before_installation/system_requirements.html +++ b/before_installation/system_requirements.html @@ -5,11 +5,11 @@ System Requirements | SNIGDHA OS - DOCS - + -

System Requirements

+

System Requirements

Minimum Requirements