r00t^2_projects::BUGS:: r00t^2_projects::BUGS::BDisk: Recently closed tasks https://bugs.square-r00t.net/ 2018-02-10T22:09:26Z FS#41: Feature Request/Design Element: Move to profile based config 2018-02-10T22:09:26Z 2018-02-10T21:59:46Z

As current, bdisk is configured to expect one build configuration per system. This is terrible for both workflow and for sharing your configurations.

Suggestion is to move to an instanced profile based solution.


move /var/lib/bdisk to /usr/share/bdisk/defaultprofile

move /etc/bdisk/build.ini to /usr/share/bdisk/defaultprofile

each profile is and instance of this template, with build.ini in the root. default libs are in the same dir as build.ini

This allows for many profiles, and profiles to be shared and worked on on git.

When bdisk becomes multi-staged. There should be an option for bdisk --init-profile [directory] which creates a new project profile at specified directory, $PWD if blank

GI Jack: All American zero https://bugs.square-r00t.net/:41
FS#35: variablize kernel name in build.ini 2018-01-14T08:46:30Z 2018-01-04T02:50:20Z

Make the name of the kernel a variable in build.ini. This allows for custom kernels.
related patch from Ninja OS: https://gitlab.com/ninjaos/ninjaos-ng/commit/32c84056234768777bedbf62cb9f058d7eee65ea

anonymous https://bugs.square-r00t.net/:35
FS#37: Remove bdisk.png hardcoded copy from build.py 2018-01-04T22:20:13Z 2018-01-04T18:52:53Z

Build fails when I remove bdisk.png. Found its hardcoded and hardfails when not present.


Pls remove this https://pastebin.com/Nn92vqJi

anonymous https://bugs.square-r00t.net/:37
FS#38: Add [system] section in bdisk.ini 2018-01-04T22:18:50Z 2018-01-04T22:09:40Z

Add a [system] section to build.ini for base system configuration

GI Jack: All American zero https://bugs.square-r00t.net/:38
FS#23: Make GPG Optional 2018-01-04T07:32:38Z 2017-12-29T16:59:08Z

Please make GPG signing optional.

I am not importing my GPG key as root, and I have my own methods of signing at the end. I do not need this feature, pls make it optional.

anonymous https://bugs.square-r00t.net/:23
FS#31: remove hard kill for NetworkManager 2018-01-04T07:32:01Z 2017-12-31T00:58:20Z

From prebuild.sh

# NetworkManager is a scourge upon the earth that must be purged and cleansed.
ln -s /dev/null /etc/systemd/system/NetworkManager.service
ln -s /dev/null /etc/systemd/system/NetworkManager-dispatcher.service

Childish, not sane default, that is hard coded with no options

anonymous https://bugs.square-r00t.net/:31
FS#33: Remove dirrect AUR support 2018-01-04T02:42:42Z 2018-01-04T02:24:35Z

I know this is likely a hard one, but you absolutely most remove direct support for AUR packages.

Reason: Its dangerous

makepkg by default refuses to run as root. bdisk needs to run as root. This feature is a serious security and/or bug problem.

At very least, with makepkg, build(), package(), etc... functions run shell commands directly on the system not in a chroot. a poorly written PKGBUILD can fuck up a system if run as root, and a malicious one guarantees system compromise.

If users need packages they should compile their own, make a repo, and then use that. It is easy enough.

anonymous https://bugs.square-r00t.net/:33
FS#32: Add user groups to jinja profile 2018-01-03T17:46:22Z 2018-01-03T17:09:47Z

related from Ninja OS


adds a groups = option under [user] for UNIX groups.

anonymous https://bugs.square-r00t.net/:32
FS#30: Add mkinitcpio.conf options, or respect /etc/mkinitcpio.conf from the overlay 2017-12-30T03:28:28Z 2017-12-29T23:27:47Z

the initcpio should be generated from the /etc/mkinitcpio.conf in the overlay, or at very least read from a bdisk file.

Should be able to use a custom mkinitcpio.conf. this is Arch after all

anonymous https://bugs.square-r00t.net/:30
FS#29: Add configuration for systemd enabled services 2017-12-30T03:27:01Z 2017-12-29T23:25:26Z

Add a configuration item for systemd .service's to be enabled on run time. As part of the build proccess, after the overlay is placed on the system, systemctl enable $SERVICE should be run on the list of services.

anonymous https://bugs.square-r00t.net/:29